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)

4
votes
0answers
300 views

`apt-get upgrade` fails intermittantly with “Hash Sum mismatch”, and must be rerun [duplicate]

Possible Duplicate: Trouble downloading updates due to “Hash sum mismatch” error A number of times recently over the last few months when I try and apt-get update & apt-get ...
1
vote
1answer
395 views

Trouble updating/installing newer required R

All other answers I find only end up pointing to instructions: http://cran.r-project.org/bin/linux/ubuntu/ So interpreting that site, added line: deb http://r.meteo.uni.wroc.pl/bin/linux/ubuntu ...
0
votes
1answer
551 views

How do I ignore missing trusted keys in apt sources.list? [duplicate]

Possible Duplicate: How do I bypass/ignore the gpg signature checks of apt? i have a problem in ubuntu hardy: i use an old hardy server that i may not upgrade with the historical sources: ...
3
votes
1answer
2k views

How to fix “apt-get upgrade” errors?

I get these errors when I try to upgrade the packages installed on my Ubuntu system: m@m-desktop ~ $ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state ...
4
votes
2answers
13k views

How can I remove all updates installed after a specific date?

I have allowed the update manager to install a 200 Mib of updates, and I think that these update run my graphics driver into a problem. So, I need a way to remove the updates that have been installed ...
-1
votes
1answer
96 views

need help with software center [duplicate]

Possible Duplicate: “Problem with MergeList” error when trying to do an update how do I fix 'E:Malformed line 68 in source list /etc/apt/sources.list (dist parse)' I ...
3
votes
0answers
2k views

How do I fix “malformed line” errors in sources.list? [duplicate]

Possible Duplicate: How do I remove a malformed line from my sources.list? I had problems with my movie player. The sound was fine but the picture seemed to hesitate or stick or pause ...
13
votes
1answer
10k views

How do I check only security updates from the command-line?

Is there a way to quickly check for the availability of security updates from the command line? On my 12.04 system running apt-get update fetches 20MB of data about available packages every time I ...
3
votes
1answer
121 views

Why does APT want to upgrade my package?

I need nginx compiled with a special flag, so I grabbed the source from the nginx stable PPA (apt-get source), changed debian/rules, built it and packaged it with debuild/dpkg-buildpackage, and ...
1
vote
2answers
530 views

Installing ZFS changed my sudoers file

Following the wiki's advice, I installed ubuntu-zfs. However, once everything installed correctly, and I tried installing another application via apt-get, I get a weird issue with my sudoers file: ...
8
votes
2answers
518 views

Can do an “apt-get update” but for only for one package?

After adding a new ppa to the repository, is it necessary to update the whole database? By "whole database" I mean is it necessary to update index's of each and every packege? If it's not necessary, ...
13
votes
5answers
21k views

How do I insert a line at the top of a text file using the command line?

I want to insert text at the top of an already existing file. How can I achieve this. I tried echo and tee but was not successful. I was trying to insert repo line at the top of sources.list file ...
1
vote
3answers
298 views

Can I automate updating/upgrading with sudo in this way?

Please consider this code: alias fast='echo "password" | sudo -S apt-get update && sudo -S apt-get upgrade' I have not yet had a problem using it but is it possible that if the first step, ...
0
votes
1answer
7k views

Couldn't find package ia32-libs [duplicate]

Possible Duplicate: What happened to the ia32-libs package? I want to install some Android plugins in Eclipse on my 64bit Ubuntu, but since android is 32bit compatible, I also have to ...
1
vote
1answer
24k views

How can I resolve dpkg dependency problems?

$ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 8 not fully ...
1
vote
5answers
841 views

how to find the ppa of a package found in launchpad?

I am trying to install a program (valgrind) which needs libc6-dbg. On the other hand, I cannot install libc6-dbg because: The following packages have unmet dependencies: libc6-dbg: Depends: libc6 ...
8
votes
2answers
359 views

How do I get security updates for restricted/partner packages?

I want to perform just security updates on Ubuntu 12.04 LTS, keeping the rest of the system unchanged. I need to do this from the command line, no the GUI update manager. I have implemented the ...
0
votes
1answer
260 views

How to uninstall kwin without installing openbox?

I haven't found anything about this anywhere, but when I remove kwin it automatically installs openbox for me and vice versa without me having any say in it. I realise this is to prevent users from ...
6
votes
3answers
2k views

How to tell Ubuntu where to install a program and how to tell where an existing program was installed?

I'm totally new to Ubuntu/Linux, using Ubuntu Server at the moment. Just trying to figure out something basic. How can you tell where you are installing a program. For example I just installed ...
2
votes
1answer
245 views

How can Ubuntu update running applications without having to close them while Windows cannot?

Running Ubuntu 12.04 64 Bit edition [ and Loving it :D] I mostly update through Terminal using sudo apt-get update && sudo apt-get upgrade I couldn’t understand this , That, having Firefox ...
1
vote
0answers
61 views

Ubuntu software centre, update manager fail to open [duplicate]

Possible Duplicate: “Problem with MergeList” error when trying to do an update On my Ubuntu 12.04 LTS system the Software Centre and Update Manager do not open. I am unable to ...
5
votes
4answers
25k views

How to configure Software Center to work with HTTP proxy?

I installed Ubuntu 12.04 LTS using the Windows installer (Wubi) yesterday. And then I tried to install Chrome, Flash player, etc., but nothing worked. Then I tried installing some random package using ...
5
votes
1answer
107 views

Cannot uninstall myspell-he

I tried to install a Hebrew spell checker for LibreOffice. I downloaded a package named myspell-he_1.1-1_all.deb and tried to install it through the software center. Installation failed and I can ...
9
votes
6answers
12k views

How do I install a 32-bit proprietary deb on a 64-bit system without causing dependency problems?

I know Guitar pro doesn't support 64 bit, but i did get it to work with this command jeggy@jeggy-XPS:~$ sudo dpkg --force-architecture -i GuitarPro6-rev9063.deb [sudo] password for jeggy: Selecting ...
2
votes
2answers
322 views

Does a purchase from Ubuntu software center of World of Goo include updates and if so what is causing an unauthorized error message when updating?

I purchased world of goo from the Ubuntu Software Center about a month back and it works fine. Recently though when I perform a sudo apt-get update I get the following output. W: Failed to fetch ...
8
votes
3answers
1k views

Mark a deb package as used, so it's not suggested for autoremoval

I have a bunch of shared libs installed on my system which aren't dependencies of some concrete package but are needed for non-apt-managed libraries I've built from source (like latest SDL, Allegro, ...
1
vote
1answer
543 views

Getting error while running this command sudo apt-get install curl git-core

After running the command to install ruby sudo apt-get install curl git-core I am getting an error- E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: ...
1
vote
0answers
51 views

Why does dpkg give me a “could not lock” error even after a reboot? [duplicate]

Possible Duplicate: Fixing “Could not get lock /var/lib/dpkg/lock” I get a dpkg is locked error even after a reboot??? i can't do any apt-get related commands E: Could not lock ...
1
vote
1answer
483 views

apt-get command error not letting Ubuntu update

every time I run sudo apt-get update I get an error: W: Failed to fetch https://private-ppa.launchpad.net/commercial-ppa-uploaders/limbo/ubuntu/dists/precise/main/binary-i386/Packages The ...
0
votes
1answer
5k views

How to resolve - dpkg error : old pre-removal script returned error exit status 102

I am unable to install or remove a package on my Ubuntu 10.04 due to the following error. $ sudo apt-get autoremove Password: Reading package lists... Done Building dependency tree Reading ...
2
votes
2answers
7k views

How to uninstall java6

I am trying root@vz10931:/var/www/mailer# apt-get remove --purge sun-java6-bin Reading package lists... Done Building dependency tree Reading state information... Done You might want to run apt-get ...
3
votes
3answers
5k views

All my Ubuntu VMs have apt-get update problems

I'm running Virtualbox 4.1 on an x86_64 Windows 7 host. I've got a collection of 12.04 and 10.04 LTS VMs I use to create debs for work. In the last week I started noticing problems on the 12.04 VMs. ...
1
vote
0answers
91 views

Problem with apt-get install command [duplicate]

Possible Duplicate: How do I fix a “Problem with MergeList” error when trying to do an update? I was trying to install p7zip for extracting 7z files in Ubuntu 11.04. On typing ...
3
votes
2answers
5k views

Apt-get take long time to update\upgrade

On my work network any apt-get (or aptitude) commands take a very long time, it's look's like admins blocked some port for it (for unknown reason). For example sudo apt-get update take like 2 days ...
8
votes
2answers
14k views

How can I find Boost version?

I just want to know how I can find the version of boost installed in my ubuntu 12.04? I am having trouble with the current precise and thinking of reverting back to 8.04. What is the boost version in ...
2
votes
2answers
5k views

Update Manager reports a “404 - Failed to fetch” for a deb file

Update Manager is reporting this error: Failed to fetch us.archive.ubuntu.com/ubuntu/pool/main/s/software-center/software-center_5.2.2_all.deb 404 Not Found I checked and my Internet connection is ...
1
vote
2answers
3k views

E:The package needs to be reinstalled, but i can't find an archive for it

I keep getting this error message when I try to use the update manager: E:The package thunderbird needs to be reinstalled, but i can't find an archive for it. This error has bugged my computer ...
0
votes
1answer
2k views

Cannot install GNU Fortran compiler due to unresolved dependencies

I have a fresh Ubuntu 12.04 install. I have updated it without any problem, but when I tried to install the Fortran GNU compiler from Software Center I get the error Package dependencies cannot be ...
1
vote
1answer
472 views

How do I update other Ubuntu partitions without rebooting into them?

I have a number of Ubuntu partitions on my computer. This allows me to run previous, current and development versions concurrently. I'd quite like to install updates to the other partitions, without ...
28
votes
2answers
12k views

How do I apt-get -y dist-upgrade without a grub config prompt?

Per Make apt-get (or aptitude) run with -y but not prompt for replacement of configuration files? I did the following: ec2run ami-3c994355 --region us-east-1 -n 1 -t m1.large -z us-east-1d On the ...
3
votes
2answers
149 views

Clementine appears in two PPAs. How can I specify which one to use?

The clementine package in 12.04 lacks spotify support. So I added the clementine PPA like this: sudo add-apt-repository ppa:me-davidsansome/clementine sudo apt-get update sudo apt-get install ...
0
votes
0answers
2k views

“Unable to connect” to getdeb.net, how do I fix it? [duplicate]

Possible Duplicate: What should I do when the GETDEB repository is down? I want to know what this error means and how to fix it? The following is the output on the terminal- W: Failed to ...
2
votes
2answers
385 views

apt-get install -f tries to remove important packages

I wanted to install dependencies for dropbox, and I found apt trying to remove some quite important packages... Note that in the remove section there is compiz or vim... How to proceed, safely, with ...
2
votes
2answers
698 views

Software Center gives me an “Error scanning the CD: Could not find a suitable CD”

I am getting the "Could not find a suitable CD" error every time I open Software Sources in order to add a PPA. A picture can be found below: How do I solve this problem? I am using Ubuntu 12.04
6
votes
2answers
2k views

Is updating via Update Manager equivalent to updating with apt-get?

On my desktop (Precise) I have run System Settings > Details > Install Updates from the Unity desktop. On my cloud server, also on Precise, I can use a VNC session to do the same but instead I ...
1
vote
2answers
163 views

what packages to uninstall for better security?

I have read a recommendation which was stating that after installing one should remove some packages from the default Ubuntu installation, in order to have a more secure server. What are your ...
1
vote
4answers
7k views

lsb_release command not found

I am new to ubuntu OS. I am trying to install skype on ubuntu 12.04. I am following a tutorial that says sudo apt-add-repository “deb http://archive.canonical.com/ $(lsb_release -sc) partner” but ...
5
votes
1answer
2k views

After force-installing a 32-bit deb failed, how can I install the 64-bit version?

I tried to dpkg -i --force-architecture google-earth-stable_i386.deb and it failed. But now when I try to install the amd64.deb it fails saying dpkg: error processing ...
4
votes
4answers
57k 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 ...
11
votes
2answers
7k views

How to use https with apt-get?

Does apt-get use https or any kind of encryption? Is there a way to configure it to use it?