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)

5
votes
1answer
2k views

What does this code do if entered in a terminal?

sudo add-apt-repository ppa:langdalepl/gvfs-mtp sudo apt-get update Then, launch Software Updater (previously known as Update Manager) and install the available updates. After you update everything ...
0
votes
2answers
427 views

Is Distribution Upgrade bad for server?

The version of Ubuntu offered in VPS is usually old, and I need newer version of application. Thus, I should upgrade the ubuntu version. However, apt-get dist-upgrade is not 100% safe (this is ...
0
votes
3answers
1k views

I can't install valgrind due dpkg-deb broken pipe, how to fix this? [duplicate]

hanu@hanu-HP-Pavilion-Sleekbook-14:~/raijin/build_debug$ sudo apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done Correcting ...
0
votes
0answers
119 views

How do I fix duplicate entries in sources.list? [duplicate]

Ok so I have tried everything under the sun but can't get into my sources.list to fix the duplicate and I think that's why my Software Center isn't working as well. This is what I get when I do ...
2
votes
1answer
119 views

How to share packages with other ubuntu systems?

I have a host Ubuntu 13.10 system in which I am installing packages via apt-get install Now there are many virtual machines which run on top of this host machine. I want these virtual machines to ...
2
votes
1answer
3k views

Configuration Options while `apt-get install`ing

Is there a way to set configuration options for packages or Makefiles being run while apt-get is installing software? I'm currently installing freetds-dev by running apt-get install freetds-dev ...
13
votes
2answers
44k views

Updating ubuntu server apt-get gives me - 404 Not Found [duplicate]

I'm trying to update a Ubuntu server and when I run apt-get update I get a number of errors like the examples below (note I added some space after http). Err http ://no.archive.ubuntu.com natty/main ...
11
votes
5answers
9k views

Why is apt-get always using proxy, although no proxy is configured?

I'm trying to disable the proxy for apt-get but it seems like apt-get gets it's proxy configuration from somewhere else other than /etc/apt/apt.conf, because although the apt.conf file is empty (and ...
1
vote
1answer
883 views

How to install 'precise' linux-image package from livecd after I accidentally deleted all kernels? [duplicate]

I had some strange issues installing sudo apt-get install linux-image-server and for some reason apt-get was trying to install two different versions of the kenrel, the real issue was that I removed ...
2
votes
1answer
333 views

udev held back by apt-get while using ondrej systemd PPA

For probably about a month now, udev has been held back by apt-get when running apt-get updgrade. The following packages have unmet dependencies: udev : Depends: sysv-rc (>= 2.88dsf-24) but ...
0
votes
1answer
5k views

Prevent packages from being removed after doing `dpkg --set-selections`

Im trying to install all the packages installed on the other host. From host = Ubuntu 12.04 LTS To host = Ubuntu 12.04 LTS I've ran dpkg --get-selections > packages.txt on the 'old'-system. To ...
1
vote
0answers
50 views

sudo apt-get error! [duplicate]

Update: I can't run sudo rm /var/lib/apt/lists/* -vf as suggested on this site elsewhere as I get this message: rm: cannot remove ‘/var/lib/apt/lists/partial’: Is a directory When I issue the ...
1
vote
3answers
3k views

How often should I update using apt-get update?

Someone told me to use the command "apt-get update "to update my software and hardware updates frequently. What exactly is updated and how often should I update it.
4
votes
2answers
1k views

Set difference of packages installed on 2 machines

Given two machines: ServerA ServerB which tool best outputs a "set", diff-like view of packages installed: Only on ServerA Only on ServerB On both machines
0
votes
4answers
5k views

dpkg exit with error “cannot scan updates directory `/var/lib/dpkg/updates/': No such file or directory”, how to fix it?

Earlier, I had a problem with a package, and I (wrongly) ran this: rm -r /var/lib/dpkg/* See also my other question. Now when I try to upgrade, I get this: E: Could not get lock ...
6
votes
1answer
4k views

How to prevent openjdk-6-jre-headless from clobbering Oracle JDK installation?

My automated build server runs a job that depends on Apache Ant. The script invokes apt-get install ant. Ant depends on openjdk-6-jre-headless which runs update-alternatives making itself the default ...
1
vote
2answers
4k views

Wifi drivers wont turn on

I've been trying to get my WiFi drivers on my laptop working for a week or so now and every video and thread has not helped me out. I know I need to use sudo apt-get install b43-fwcutter but whenever ...
0
votes
1answer
246 views

ubuntu 12.04 update manager failure [duplicate]

does anyone hv a suggestion? Every time I'm trying to check for updates or update anything, the error below comes up. tried to load older kernels, the problem persist in all of them. E:Encountered a ...
0
votes
2answers
1k views

Installed wrong teamvierer package now I have unmet dependency problems, how to revert back?

Package management is broken after a mistaken attempt to install TeamViewer (I selected the wrong TeamViewer package from the TeamViewer web site). I have tried: sudo apt-get clean sudo apt-get ...
0
votes
1answer
29 views

server program upgrade problems

I am running 12.04LTS and the system tells me that there are packages to be updated. The next commands are working: sudo apt-get update sudo apt-get upgrade One or more of the programs/packages ...
4
votes
1answer
354 views

Up to date, but says I need an update?

I'm using Xubuntu 13.04. There's a yellow update icon in my panel and when I click it, there is an unclickable grayed out options that says "There is 1 update available". When I click on the option to ...
0
votes
2answers
120 views

Cannot install ubuntu 11.04 apps on live usb [closed]

I have ubuntu 11.04 on a 3.6gb usb flash drive. My wifi connection is working fine. But, i cannot install apps via sudo apt-get install. It says, failed to fetch repository. I try the software ...
0
votes
2answers
1k views

The bug is not reproducible, so it is likely a hardware or OS problem [closed]

I'm trying to install Samba 4.0.9 on one server but I keep getting this error everytime. I have tried everything from apt-get -f install to editing /var/lib/dpkg/status Package: Samba4 Install ok ...
0
votes
1answer
2k views

Apt-get problems and errors : VIM

I found this great link: How do I resolve unmet dependencies? but I can't seem to get any command involving apt-get to run correctly. My main problem is a partition filling up and don't know why, ...
3
votes
4answers
6k views

DPKG dependencies problem after removing MariaDB, prevents me from using apt-get

I tried to install MariaDB like this, and got this error: dpkg: error processing /var/cache/apt/archives/libmysqlclient18_5.5.32+maria-1~raring_amd64.deb (--unpack): libmysqlclient18:amd64 ...
17
votes
13answers
44k views

Installing Skype on Ubuntu 13.04 64-bit

Here is what I tried: $ sudo apt-get install skype [sudo] password for umpirsky: Reading package lists... Done Building dependency tree Reading state information... Done Some packages could ...
0
votes
1answer
484 views

How to solve “Unable to locate package update” when doing sudo apt-get install update [duplicate]

When I want to update packages it shows this error: gopi@Gopi-PC:~$ sudo apt-get install update [sudo] password for gopi: Reading package lists... Done Building dependency tree Reading state ...
3
votes
3answers
8k views

Cannot install adobe flash player

I can't install Adobe Flash player. I tried terminal, Ubuntu Software Centre, and Synaptic Package Manager, but I got error message: flashplugin-installer: Depends: libnss3-1d but it is not going to ...
4
votes
1answer
25k views

Trying to update but not enough space on boot (answer here) [duplicate]

The error message I get suggests "sudo apt-get clean" I try running it but nothing happens. Just get back to the prompt. Is there any other terminal commands I should try to clean temporary files ...
4
votes
0answers
12k views

How to set a static IP address? [duplicate]

apt-get fail to resolve the mirror. I am using my server as a backup server to one of my website servers. So I had to initially set a static IP address... How can I do it?
0
votes
1answer
2k views

“E: Unable to locate package eclipse” in ubuntu 12.04.2 for “sudo apt-get install eclipse” [duplicate]

After doing "sudo apt-get update" which executed successfully, I tried to install eclipse using "sudo apt-get install eclipse". but it is showing "E: Unable to locate package eclipse". Output for ...
1
vote
2answers
70 views

How can I remove Proprietary Sources

I only enabled "main" and "universe" repos, but still proprietary software like "steam" are enabled and shown in the list, how can I remove them?
5
votes
4answers
383 views

Find what packages are installed from a repository

I'm trying to find what packages I have installed from a repository using terminal commands. I found a post somewhere saying I could use aptitude search "?origin (<repository>) ?installed", but ...
2
votes
2answers
5k views

How to upgrade natty/oneric server to precise?

I started up with a pre-installed OS having this sources.list file: deb http://archive.ubuntu.com/ubuntu natty main deb http://ro.archive.ubuntu.com/ubuntu/ oneiric universe deb-src ...
2
votes
2answers
1k views

Can't install adobe-flash-properties-gtk

I am trying to see whether I can alter the settings of Flash to reduce the huge memory footprint—whether that succeeds is another issue—and came across advice regarding a settings tool that I am under ...
4
votes
2answers
666 views

Dependency errors in Ubuntu installation

I'm trying to fix an APT setup in an Ubuntu server to which I only have SSH access and can't make head or tail of the dependency errors. I've run sudo apt-get install -f, and get the following: ...
15
votes
1answer
14k views

How to solve “Extra junk at end of file” when using apt?

I'm trying to configure some proxies for a guest virtual machine and now I'm getting: sudo apt-get update E: Syntax error /etc/apt/apt.conf.d/95proxy:4: Extra junk at end of file The content of the ...
0
votes
1answer
1k views

How to upgrade a remote box from 10.10 to 12.04 LTS when apt doesn't work? [duplicate]

I have a virtual private server that runs the out-of-date Ubuntu 10.10. I'd like to upgrade to 12.04 LTS. Currently apt doesn't work on this box, and the command do-release-upgrade is not found. ...
0
votes
2answers
3k views

What is the answer to “are you root” when installing packages? [duplicate]

What is the answer to "are you root" in Ubuntu 12.10. I was installing the restricted extras for the 12.10 when I got this message after typing my password. I typed yes and now all I see are y in the ...
1
vote
0answers
498 views

“sudo apt-get update” keeps hanging at the same point

Since today I have a problem updating. Every time I try sudo apt-get update the process hangs at the exact same point. ... Ign http://de.archive.ubuntu.com raring-backports/main Translation-de_DE ...
1
vote
1answer
119 views

Does file /etc/apt/sources.list.apt-clone exist and if so, what is the difference to /etc/apt/sources.list?

I know that /etc/apt/sources.list is used to tell the apt ubuntu/debian package system about the packages it should use. This is quite clear already. But I have seen that there is a file ...
3
votes
1answer
966 views

Remove output from add-apt-repository

I'm trying to write a shell script that will automatically set-up a LAMP stack for me. One of the lines I have in the script is: add-apt-repository -y ppa:ondrej/php5-oldstable >> ...
2
votes
1answer
557 views

bash doesn't think lxc is installed, apt thinks it is

This screenshot sums up my problem: I've run apt-get update, upgrade, purge, autoremove and then install again. No luck. Anyone know why this is happening?
0
votes
2answers
80 views

Broken dependencies error message when trying to download emerald-themes

I was downloading themes last night on Synaptic and came across a package called emerald-themes. Every time I try to download it, Synaptic flags it as having broken dependencies. When I check the ...
21
votes
2answers
22k views

How do I get details about a package which isn't installed?

How can I get some details about a package without installing it, (eg. the description and version number) like in Synaptic or Aptitude. The command dpkg -s PACKAGE does not work, with this error. ...
0
votes
1answer
275 views

Unable to update or install on lubuntu server

I recently downloaded Lubuntu Server on my Apple Powerbook G4. I am unable to install anything on using both ethernet and wireless. I used sudo ethtool eth0 and it was there was a connection. I ...
-1
votes
1answer
2k views

Unable to locate package openfoam221

While I am executing command **VERS=$(lsb_release -cs) sudo sh -c "echo deb http://www.openfoam.org/download/ubuntu $VERS main > /etc/apt**/sources.list.d/openfoam.list"*][1]* I have a file ...
2
votes
2answers
6k views

GPG error in Ubuntu update

When I run the sudo apt-get update, it results in the following Reading package lists... Done W: GPG error: http://ppa.launchpad.net lucid Release: The following signatures couldn't be verified ...
1
vote
2answers
3k views

Cannot install PHP CURL, php5-common discrepency

When every I try to install php5-curl, php5-common, php5 I always get following error: The following packages have unmet dependencies: php5-curl : Depends: php5-common (= 5.3.10-1ubuntu3) but ...
2
votes
0answers
3k views

apt-get update is not working

Hello Ubuntu Community, I have been working with Linux for 5 years, and with those five years, I have never had a problem with the Ubuntu apt program. It usually works like a charm and is an instant ...