Advanced Packaging Tool, the package manager for Debian-based distributions. It is also the most used tool for installing packages in Ubuntu. Questions about using any of the apt tools should use this tag.

learn more… | top users | synonyms (1)

0
votes
0answers
4 views

dpkg-shlibdeps: error: no dependency information found for /usr/local/lib/libwebsockets.so.4.0.0

I'm packaging my c++ application using dpkg-buildpackage -rfakeroot -b I've installed libwebsockets from the source rather than the debian package libwebsockets3 or libwebsocktes-dev. In the ...
0
votes
1answer
9 views

unresolvable broken packages

I have been desperate to resolve this problem as I am not being able to install certain programs. my computer says that I have broken packages: The following packages have unmet dependencies: ...
0
votes
0answers
22 views

Where are deb packages which are downloaded by apt-get stored in Ubuntu 14.04

I used to find deb packages which are downloaded by apt-get in the /var/cache/apt/archives directory. I've installed Ubuntu 14.04 recently but I fount out the deb packages aren't stored to the ...
1
vote
1answer
26 views

dpkg unsatisfied dependencies, now apt-get wants to remove whole system

firstly, I'm sorry for my terminal output in portuguese, but I guess it is still understandable. I am using Ubuntu GNOME 14.04 and I tried to update the GNOME Online Accounts packages by downloading ...
7
votes
3answers
40k views

'sudo apt-get update' error on Ubuntu 12.04

When I type in sudo apt-get update I get this: mohd-arafat-hossain@TUD:~$ sudo apt-get update [sudo] password for mohd-arafat-hossain: Ign http://bd.archive.ubuntu.com precise InRelease Ign ...
0
votes
1answer
112 views

apt-get: you have held broken packages

Everything was working normally, but now libstdc++ seems to be broken. So I try to reinstall it. Things like: sudo apt-get remove stdc++ sudo apt-get autoclean sudo apt-get -f install sudo apt-get -u ...
1
vote
1answer
15 views

apt-get upgrade goes to an infinite loop while downloading stuff

My Ubuntu 12.04 installation (yes I don't want to upgrade just yet) is giving me trouble updating. This has been happening for more than a week. I run apt-get update no problems but when I run apt-get ...
0
votes
1answer
11 views

Ubuntu 12.04 apt-get installs older version of software

I'm using a software called vcftools which is present in Ubuntu repositories. When I sudo apt-get install vcftools in my Ubuntu 14.04, I get an up-to-date version (v0.1.11), whereas when I do the same ...
1
vote
1answer
31 views

Ubuntu unable to update and upgrade to 14.04: GPG Error [duplicate]

I have been looking around the net for solutions but I just cannot get rid of this error. sudo apt-get update Ign http://archive.canonical.com saucy InRelease Ign ...
2
votes
4answers
830 views

How to get the newest version of a package installed via apt-get?

Is there a way to install the latest release of a program other than building it from the source? I know that the packages/applications in the ubuntu repositories are not always containing the most ...
20
votes
9answers
85k views

apt-get update fails to fetch files, “Temporary failure resolving …” error

Err http://archive.canonical.com natty InRelease Err http://security.ubuntu.com oneiric-security InRelease Err http://extras.ubuntu.com natty InRelease ...
0
votes
0answers
9 views

Apt-get update and installed failed in ubuntu 13.10 in virtual machine [on hold]

I have installed VMplayer in my Ubuntu 14.04 and in the VM I need to run Ubuntu 13.10. I have installed 13.10 on my VM. But in 13.10 when I need to run sudo apt-get update it failed. And also I can't ...
0
votes
4answers
41k views

Unable to fix broken packages with sudo apt-get install -f

Here's my result, of sudo apt-get install -f. i have Ran it twice and got negative result. I believe there is an error at "error in Version string '0:3.6.1-dates for language English Translation ...
0
votes
0answers
9 views

Prevent APT from overwriting custom files

My server runs a Java application that requires I replace a few java library files with ones I downloaded on my own. This has to do with JCE security extensions and isn't really relevant to my ...
0
votes
1answer
29 views

Why does 14.04 say there are no updates, when there are?

Why does Update Manager in 14.04 currently say it's up-to-date when apt-get upgrade shows there are updates to install?
5
votes
2answers
185 views

Any alternative to install -f?

While installing dropbox from the repositories, my laptop ran out of power, and so the system went into a broken state. When I rebooted, I tried two methods to set it right. One was sudo dpkg ...
0
votes
0answers
10 views

How to bring back older version of mesa packages from ppa:xorg-edgers/ppa

I'm trying to install older version of mesa packages from xorg-edgers PPA using following command: sudo apt-get install libgl1-mesa-dev=10.3.0~git20140812.fa5b76e3-0ubuntu0ricotz~trusty ...
0
votes
1answer
30 views

“Errors while handling” kernel packages after dist-upgrade

I did an apt-get dist-upgrade, now everytime I do something using apt-get, e.g. installing something, it gives me that there are errors while handling the following packages: ...
3
votes
2answers
854 views

Downgrade a bunch of packages

Maybe you have installed packages from a PPA or an external source (e.g. downloaded a .deb for a package that is available through the Ubuntu repos.). Then you decide to drop these upgraded versions ...
-1
votes
0answers
17 views

“E:The package lists or status file could not be parsed or opened.” after deleting one of the list files [duplicate]

I'm really stupid, and I deleted the following file: us.archive.ubuntu.com_ubuntu_dists_trusty_main_i18n_Translation-en I did so attempting to do something about the following error message: ...
0
votes
3answers
357 views

how do I downgrade google chrome?

Presumably after an update, google chrome has very serious problems with page rendering. I want to downgrade it. (Switching to vmlinuz.old and initrd.img.old did not help). $ apt-cache policy ...
4
votes
1answer
1k views

apt-get won't upgrade old generic-pae

Running #apt-get upgrade I am told to run sudo apt-get -f install. I do that and see: The following extra packages will be installed: linux-generic-pae linux-headers-generic-pae ...
-1
votes
0answers
20 views

Upgrade List Problem [duplicate]

When doing an upgrade with "sudo apt-get upgrade" I get the following error. This has always worked in the past. Any help? Reading package lists... Error! E: Encountered a section with no Package: ...
0
votes
1answer
26 views

Completely unable to install python2.7-dev [duplicate]

Am totally stuck! Am unable completely to install python2.7-dev on my Ubuntu13.04. I have tried all the tricks mentioned on this site (askubuntu.com) and many other sites on the web but still ...
2
votes
0answers
54 views

apt-get command problem

I am using Ubuntu 12.04 32 bit in hp pavilion dv6 laptop (AMD Processor) after upgrade and reboot, the desktop doesn't start and at cui (Ctrl + Alt + F1). When I try to login to my user and following ...
0
votes
0answers
41 views

Unable to install updates on 14.04 LTS [duplicate]

I have been getting update notifications for a few weeks now but whenever I attempt to install them I get this message; The upgrade needs a total of 74.6 M free space on disk '/boot'. Please free at ...
0
votes
1answer
55 views

Upgrade from 12.04 LTS to 14.04 LTS fails

Output of the Bash Terminal: http://pastebin.com/wXKtLzin I used apt-get upgrade -f as well, with the same result. I only want the 14.04 LTS that works fine and I don't lose my data. In the past the ...
0
votes
0answers
19 views

Unable to mount disk in ubuntu 13.10.Please give me a solution [duplicate]

Error mounting /dev/sda4 at /media/rahul/Shrinkable: mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sda4" "/media/rahul/Shrinkable"' exited with ...
0
votes
0answers
24 views

Why did my apt-get suddenly stop working? [duplicate]

Since yesterday I've been unable to install stuff. I get errors like this: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/libb/libbsd/libbsd-dev_0.4.2-1ubuntu1_amd64.deb 404 Not ...
0
votes
0answers
20 views

I can not download anything [duplicate]

I am very new to ubuntu but decided to wipe my windows 7 and install it. I can not download anything from the software center. This is the error message I get. I can use the web in all other ways ...
0
votes
0answers
16 views

Problem running apt-get DPKG broken?

Problem when runing apt-get debian av # sudo dpkg --configure -a Setting up libgdata2.1-cil (2.2.0.0-2) ... mono: ../nptl/pthread_mutex_lock.c:80: __pthread_mutex_cond_lock: Assertion ...
0
votes
0answers
11 views

Ubuntu 14.04 LTS AMD64 randomly uninstals packages / applications

I am having a strange issue. Occasionally when installing new packages, I will get a system crash notification which I will report. The environment then becomes unstable, unity crashes and all open ...
0
votes
0answers
16 views

I fixed my PPA errors but when I try to install Steam all additional packages say No Installation Candidate

While I was downloading Steam I get this code: user@computer:~/Downloads$ sudo dpkg -i steam_latest.debSelecting previously unselected package steam-launcher. (Reading database ... 195561 files and ...
0
votes
1answer
53 views

Must execute “sudo su” and then do apt-get update/upgrade/install, prefacing with sudo doesn't work

In order to get the apt-get update/upgrade/install commands to work, I have added proxy information to my /etc/environment file. For example: http_proxy="http://proxy-chain.acmewidgets.com:8080/" ...
-1
votes
0answers
15 views

Ubuntu 12.10 (32 bit ): ssh not available and not installing [duplicate]

I am installing ssh on my ubuntu 12.10 quantal. To see whether ssh is there or not on my machine. i used these commands. which ssh which sshd It didn't show any output. Then I tried to install ...
0
votes
0answers
68 views

Error installing linux generic kernel ovh

I have recently purchased a vps from ovh and I was trying to install the generic kernel apt-get install linux-image-generic but I got an error. Setting up linux-image-3.13.0-34-generic (3.13.0-34.60) ...
12
votes
3answers
3k views

apt-get remove with wildcard removed way more than expected. why?

Last night I was trying to burn CDs. Being annoyed with k3b and choosing to use brasero instead, I went to remove k3b. I typed in: sudo apt-get remove k3b I hit tab twice and saw that I had both ...
0
votes
1answer
81 views

I can´t install Cinammon on Ubuntu 12.04 LTS

I'm new on linux and I've installed Ubuntu 12.04 lts. I want to install cinnamon but after typing sudo add-apt-repository ppa:gwendal-lebihan-dev/cinammon-stable it shows me this: Cannot ...
0
votes
0answers
16 views

Install Node on Ubuntu 14.04 1and1 Virtual Server

I have a Virtual Server from 1and1 running Ubuntu 14.04. After correcting the /etc/apt/sources.list to the official ones I tried to install nodejs and npm (to install bower later). I followed the ...
3
votes
2answers
380 views

How can I know that I have g++ installed in my ubuntu?

I have recently installed ubuntu 14.04 . I tried to run a c++ code by a command like this: g++ first.cpp -o first Then it said: The program 'g++' is currently not installed. You can install it by ...
0
votes
0answers
22 views

Try 'apt-get -f install' with no packages

I am using Ubuntu 14.04 lts OS. So when I go to installed mysql server using below command sudo apt-get install mysql-server I have some error message. This is the error message: Reading package ...
3
votes
3answers
9k views

“Unable to locate package” while trying to install packages by apt

When I try to install any package through the command line, I get an error. Can anyone help me on this? $ sudo apt-get install <package> Reading package lists... Done Building dependency tree ...
1
vote
0answers
21 views

Package:astrolog isn't available on Ubuntu repository?

https://help.ubuntu.com/community/Astrology says: astrolog is available on Ubuntu repository: But it is not located/available: $ sudo apt-get install astrolog Reading package lists... Done Building ...
0
votes
0answers
54 views

iscsitarget suddenly broken after upgrade of the 12.04 Hardware Stack

After an upgrade to the latest Hardware Stack using Ubuntu 12.04, my iscsi service is not longer operational. The error from the service is such: FATAL: Module iscsi_trgt not found. I have learned ...
0
votes
1answer
21 views

can't install webmin on ubuntu server

I have an Ubuntu server installed and I want to install webmin on it but I can't. I have tried everything but reached no solution. I also set this deb http://download.webmin.com/download/repository ...
7
votes
3answers
9k views

How do I fix APT errors “W: Failed to fetch […] Hash Sum mismatch”?

I don't really know what happened, after reboot I got many crash messages, and if I would open Firefox or Synaptic, they would crash. Synaptic returns this: E: Encountered a section with no Package: ...
0
votes
0answers
14 views

libssl-dev and libssl1.0.0 on confilcting versions

My problem on 12.04lts is that somehow my libssl1.0.0 got upgraded to 1.0.1-4Ubuntu5.17 and my libssl-dev requires 1.0.1-4Ubuntu5.14 apt won't update libssl-dev because libssl1.0.0 was upgraded first. ...
28
votes
2answers
62k views

What does Package <package> has no installation candidate mean?

What does the above Error mean? What is an installation candidate? I was trying to do sudo apt-get install munin-memcached and I get this message: Reading package lists... Done Building ...
1
vote
2answers
30 views

What lines should be commented out in my sources.list file?

I have just updated from Ubuntu 12.04 to 14.04 last weekend. I haven't downloaded any extra programs as of yet. I checked my sources.list file and it has the following lines in it: deb ...
13
votes
6answers
18k views

Installing and testing CUDA in Ubuntu 14.04

I am uncertain about how to install CUDA in my system. looking around there are many tutorials about cuda on 12.04 LTS and a few on 13.04 and 13.10, but they all talk about acquiring a deb package ...