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
48 views

Failed to fetch http:/dists///ppa.launchpad.net/Release.gpg Unable to connect to :http:

I have problem with PPA. after command sudo apt-get update I have :- W: Failed to fetch http:/dists///ppa.launchpad.net/Release.gpg Unable to connect to :http: W: Failed to fetch ...
1
vote
1answer
26 views

How to build a .deb file from apt-get packages? [duplicate]

I'm in need of deploying the same software over and over on multiple systems. How can I build a .deb file from apt-get packages like ia32-libs in Ubuntu so I don't have to download this software on ...
0
votes
0answers
28 views

Software update shows a stop sign and no wifi/ethernet connection. 14.04.1

On Ubuntu 14.04.1, have been for a while. Symptoms: Screen resolution is low and no internet connection. I have tried both wireless and cable. There is a no entry ...
0
votes
1answer
52 views

sudo apt-get update not working [duplicate]

Err http://ppa.launchpad.net utopic/main amd64 Packages 404 Not Found Get:63 http://in.archive.ubuntu.com utopic/universe Sources [6,736 kB] Err ...
0
votes
2answers
6k views

How can I install libgl1-mesa-glx

I am trying to install OpenCPN, a navigation and chart program. The install guide recommend this: It is also possible to install the package via dpkg or rpm, on the condition that all dependencies ...
0
votes
0answers
23 views

apt-get fails to do anything

After upgrading Ubuntu from Ubuntu-12.04-adm64 to Ubuntu 14.04.1 LTS via ssh (on VDS) For most of commands apt-get returns something like this: Setting up python3-minimal (3.4.0-0ubuntu2) ... ...
0
votes
0answers
14 views

can't work any of the 14.04 crash fixes

None of the fixes work. I've tried them all. For example, all Ubuntu tells me is: root@kevin-desktop:~# sudo apt-get remove compiz-plugins W: Not using locking for read only lock file ...
1
vote
1answer
38 views

apt-get cannot install specific version listed in apt-cache policy

I'm trying to install a particular version of redis-server from a third-party repo using apt-get, that's listed in apt-cache policy, but cannot be installed. For example: $ apt-cache policy ...
0
votes
0answers
18 views

replicate an ubuntu installation (14.10)

I had to create a number of identical machines with ubuntu 14.10 on them. These are physical machines, not VMs, with specific 14.10 packages installed. I think I need to create a preseed configuration ...
1
vote
0answers
336 views

Unknown error: '<class 'KeyError'>' (“The cache has no package named wine-staging-i386”)

There is an error sign on my Ubuntu panel which states the error given in the title. I used sudo apt-get update but it gave me no errors. However the error sign persists. How do I fix this?
423
votes
15answers
597k views

How to list all installed packages?

I'd like to output a list of all installed packages into a text file, so that I can review it and bulk-install on another system. How to do this?
0
votes
0answers
46 views

How to fix the “Dependency is not satisfiable:libavcodec53 (>=4:0.7-1)|libavcodec-extra-53 (>=4:0.7-1)” error?

I tried to install Panda3D game engine (1.8 stable) on Ubuntu 14.04 LTS several times and always something was going wrong. I followed each guide I found on the internet for the installation and none ...
2
votes
1answer
225 views

unable to install gcc-multilib after upgrading to 14.04

I recently upgraded from 12.04 to 14.04. After upgrading things started to break. I am getting crt1.o: No such file: No such file or directory. So, I tried to install gcc-multilib, but, that is also ...
0
votes
3answers
128 views

sudo apt-get -f install fails

I think I have a problem with mixing different repository packages, but I can't uninstall any of the conflicting packages. Any suggestions? gunnar@gunnar-VirtualBox:~$ sudo apt-get -f install Reading ...
0
votes
0answers
22 views

cannot install vlc

I got this error when trying to install vlc: Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that ...
0
votes
0answers
12 views

Cant install any package anymore [duplicate]

pc@pc-desktop:~/work/$ sudo apt-get install curl [sudo] password for pc: Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be ...
-1
votes
0answers
87 views

After “sudo apt-get update”, still cannot install software, “Unable to locate …”?

I cannot install many software by using sudo apt-get install. For example, sudo add-apt-repository ppa:kilian/f.lux sudo apt-get update sudo apt-get install fluxgui It just shows that "Unable to ...
334
votes
23answers
285k views

How can PPAs be removed?

I've added many PPAs using the add-apt-repository command. Is there a simple way to remove these PPAs? I've checked in /etc/apt/sources.list for the appropriate deb lines but they aren't there. This ...
1
vote
0answers
41 views

Problems almost every time with repositories [closed]

Often (like today) happens that many and random repositories are unauthenticated due to missing pubkeys. It's not a temporary problem like unreachable ppas for a while (or until I switch to another ...
1
vote
1answer
131 views

clang and clang++ not found after installing the clang-3.5 package

After installing the clang-3.5 package, typing clang or clang++ on the command line gives me a message stating which packages those programs can be found in. Attempting to run the install of ...
2
votes
3answers
10k views

“Unmet Dependencies” problem when trying apt-get install

Anytime I try to install python packages using the command: sudo apt-get install python-package I get the following output: Reading package lists... Done Building dependency tree Reading ...
-1
votes
2answers
61 views

Why is ubuntu unable to install two programs at once?

I tried to install two programs at once in Ubuntu via terminal. it says this. E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory ...
2
votes
1answer
206 views

Unable to install android studio dependency is not satisfiable

I am trying to install android studio from this source: The following packages have unmet dependencies: android-studio : Depends: lib32ncurses5 but it is not installable Depends: ...
0
votes
1answer
51 views

What does the “apt-get dselect-upgrade” command do?

When running the command apt-get I got all the possible options and commands for apt-get. But one of these commands and definitions I have not seen before: dselect-upgrade - Follow dselect selections ...
5
votes
7answers
7k views

Apt-Get using Apt-Cacher NG fails to fetch packages with hash sum mismatch

I have a machine who is using Apt-Cacher NG running on another machine as caching proxy. When I try to run sudo apt-get update I get the following errors: W: Failed to fetch ...
0
votes
0answers
16 views

Error message when updating pakages

I just started getting this error message when attempting to run sudo apt-get update: W: Failed to fetch cdrom://Lubuntu 14.10 Utopic Unicorn - Release i386 (20141022.1)/dists/utopic/Release ...
0
votes
0answers
49 views

Errors were encountered while processing: /var/cache/apt/archives/ubuntu-release-upgrader-core_1%3a0.220.7_all.deb

Hey guys I not a ubuntu expert but Im I having a problem and I dont know how to fix it I already tried apt-get clean dpkg --configure -a and nothing I still have the same error when I launch ...
44
votes
3answers
27k views

Show apt-get installed packages history via commandline?

Is there a way to show the history of installed packages that were installed by apt-get via commandline?
7
votes
5answers
16k views

How do I fix a “E: The method driver /usr/lib/apt/methods/http could not be found.” error?

I tried updating my packages from the terminal and this is what I got: $ sudo apt-get update E: The method driver /usr/lib/apt/methods/http could not be found. E: The method driver ...
21
votes
7answers
51k 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 ...
0
votes
0answers
43 views

apt-get update failed [closed]

When running the command sudo apt-get update in Terminal I get the following output: Ign http://extras.ubuntu.com utopic InRelease Hit http://extras.ubuntu.com utopic Release.gpg Ign ...
0
votes
1answer
49 views

Error while installing php-pear , dpkg error returned error code 1

I was trying to install mongo php driver on ubuntu 14.04 on x64 system. I used this tutorial and when I was trying to install pecl to install the php driver I got an error at the end of the ...
-1
votes
0answers
27 views

Missing /var/backups directory on ubuntu

I have moved /var to another existing partition with more space . After that when i do sudo apt-get install , it says following error : E: Could not open lock file /var/lib/dpkg/lock - open (2: No ...
0
votes
0answers
22 views

Cannot install anything in ubuntu 12.10 64bits [duplicate]

I recently installed Ubuntu 12.10 64 bits in my computer. I tried to download several applications from the software center and from the terminal. But was unable to download anything. From the ...
0
votes
0answers
49 views

grive-tools : Depends: libcurl4-openssl-dev but it is not going to be installed

recently I tried to install Grive Tools, following the instructions from this website Ubuntu Google Drive Client with Grive and Grive Tools. Everything worked perfect until I reached the point where I ...
1
vote
1answer
19 views

How does apt handle circular dependencies?

When I installing .deb packages by hand I often encounter circular dependencies. I, then, install it with dpkg -i --force-depends ... and hope it works. How does apt handle circular dependencies?
0
votes
0answers
18 views

Problem with upgrade [duplicate]

After running apt-get upgrade I got an error. Next I tried apt-get install -f However, it still gives me an error and I do not have a clue how to solve this. Especially because a kernel is ...
0
votes
1answer
29 views

How to add a PPA which does not include my Ubuntu distribution?

I am trying to add ppa:stevedh/smap to my repository with the following command: sudo add-apt-repository ppa:stevedh/smap It gets added. When i sudo do apt-get update I recieve the following ...
1
vote
2answers
1k views

Broken packages and can't run -f install

After I installed codeblocks it started giving me error I'm getting loads of errors. I'm new to Ubuntu( from windows) sudo dpkg --configure -a dpkg: dependency problems prevent configuration of ...
1
vote
2answers
1k views

apt-get -f install gives error

When I run apt-get -f install, it gives the following error: # apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done Correcting ...
1
vote
1answer
23 views

NodeJS install not complete? Error about listen not defined?

My 2nd day with Ubuntu: Installed NodeJS, ran my first NodeJS example. Got next error in console: /home/privateuser/nodejsweb/helloweb.js:11 listen(9999); ^ ReferenceError: listen is not defined at ...
0
votes
0answers
23 views

Data files for some packages could not be downloaded

I got this message when starting the system The following packages requested additional data downloads after package installation, but the data could not be downloaded or could not be processed. ...
1
vote
3answers
5k views

How to install again Update Manager after uninstalling it

I tried asking many times on few Ubuntu forums how to deal with my non-responsive Update Manager, but all I was getting was the same stuff (run it from the terminal, run some lines, apt-get update ...
1
vote
2answers
356 views

Pepper flash plugin is installed but doesn't work on chromium

I have Pepper Flash Plugin installed, but it doesn't work on chromium and still every webpage prompts to install Adobe flash. I removed and installed it again but nothing changed. I'm sure it's ...
0
votes
0answers
24 views

Problem with apt-get update

Hello I'm having a problem with "apt-get update", every time I type the comand it shows me the next error: "E: The method driver /usr/lib/apt/methods/hhtp could not be found" I know the problem is ...
7
votes
1answer
1k views

“no public key available” while upgrading using update-manager

I decided to upgrade 12.04 to Ubuntu 14.04 latest. I followed... sudo update-manager -d Then it's opening the update-manger GUI. After clicking the upgrade button It's return the below error list: ...
0
votes
0answers
27 views

Error while loading shared libraries: libOSMesa.so.8: cannot open shared object

On Ubuntu 14.04 LTS, I need to install the libOSMesa8, one of the Mesa 3D libraries. In particular, I need the file libOSMesa.so.8 to run the graphic tool Asymptote. Only libosmesa6 is available ...
23
votes
8answers
1k views

How to make a package manager wait if another instance of APT is running?

I have seen many softwares such as Update Manager and Synaptic Package Manager, they wait if some other program is using the /var/lib/dpkg/lock and is locked. How can we do this through the Terminal? ...
-1
votes
0answers
21 views

when i tried to use the code “$ sudo apt-get update” the following message is displayed. what does it mean? [duplicate]

when i tried to use the code "$ sudo apt-get update" the following message is displayed. what does it mean? W: Duplicate sources.list entry http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu/ ...
1
vote
1answer
70 views

Error when adding ppa repository: keyserver.ubuntu.com: Host not found [duplicate]

I had to reinstall Ubuntu today and despite having configured proxy for Apt, when trying to add a new PPA, the step that communicates with keyserver.ubuntu.com fails: $ sudo add-apt-repository ...