apt-get is a command-line interface to the Advanced Packaging Tool (apt) which is responsible for installing, removing, and upgrading packages.

learn more… | top users | synonyms

0
votes
0answers
26 views

How to install top & htop on Ubuntu 8.04.2 LTS (hardy)

Env. Rackspace Ubuntu 8.04.2 LTS (hardy) I am in a corner situation where I need to maintain carefully a legacy server before I can plant for an upgrade. Actually an upgrade is not an option, I ...
2
votes
2answers
2k views

Can I install Ubuntu apt-get packages offline?

I have installed Ubuntu 11.04 on my system. I don't have any Internet connection to the system. How can I install various packages? Is there a package collection available as CD/DVD (which I can ...
0
votes
2answers
338 views

How to get codename (“wheezy” or “sid”) of a package version?

apt-cache show shows various versions of the package # apt-cache show libc6:i386 Package: libc6 Version: 2.17-97 Architecture: i386 ... Package: libc6 Status: install ok installed Version: 2.17-7 ...
0
votes
0answers
10 views

ubuntu on chroot apt-get update fail - Unable to parse package

When I chroot under Ubuntu 12.04 and run apt-get update in my chroot home, I get: 100% [21 Translation-en gzip 0 B] [22 Translation-en bzip2 3E: Unable to parse package file ...
1
vote
2answers
45 views

Can't install wireshark on Debian Linux

I'm trying to install Wireshark on Debian (Debian 3.2.51-1) but i'm getting this error: apt-get install wireshark Reading package lists... Done Building dependency tree Reading state ...
1
vote
2answers
506 views

Installing Skype on Debian Wheezy [amd64]

Yes, yet another question about how to install Skype on Debian Wheezy (7.4) amd64. Seen countless similar articles and forum threads on how to do it, but it doesn't for me :( Here is what I do: dpkg ...
1
vote
4answers
7k views

Removing MySQL completely on Linux

I'm fairly new to Linux, when I first installed MySQL it was during an LAMP setup on personal machine with a Ubuntu Setup. ATM, I'm trying to get a fresh, clean install of only MySQL. I've been to ...
0
votes
0answers
4 views

When does apt-get ask for approval to install packages? [duplicate]

Sometimes apt-get promtps: Do you want to continue? [Y/n] Sometimes it doesn't. It doesn't seem to be related to the overall disk space used by the operation, because I've seen multi-MB packages ...
0
votes
1answer
29 views

How can I apt-get dist-upgrade without removing packages?

When I run apt-get dist-upgrade, it wants to remove a number of packages I have installed that I'd very much like to keep installed, such as netflix-desktop. To work around this, I can of course ...
2
votes
1answer
35 views

Reinstalling package after manually removing directory

I was trying to properly configure nginx, but after many modifications I messed up so much that I decided to remove the package with sudo apt-get --purge remove nginx - but the nginx directory was ...
0
votes
0answers
62 views

Why the apt-get -f upgrade returns warning and errors?

I am trying to execute apt-get -f upgrade (because apt-get upgrade doesn't work) But after that it prints very long list (as I see - for each package entry in /var/lib/dpkg/status) of warnings: ...
0
votes
1answer
25 views

how to configure apt-get to use multiple repository components or sections

My ubuntu 14.04 installation shows the apt-get uses only one respository section: $ apt-cache policy Package files: 100 /var/lib/dpkg/status release a=now 500 ...
1
vote
3answers
32 views

How to stop and restart apt-get

I have a very slow connection (~10KB/s) because my mobile carrier throttled me. Now, they will send about 32KB, then stop. I am trying to install packages through apt-get, and I noticed that I can ...
0
votes
3answers
1k views

Cannot install show because of FQDN

When i install show (sudo apt-get install nmh). It fails with the following error : The hostname -f command returned: $1 Your system needs to have a fully qualified domain name (fqdn) in order to ...
0
votes
1answer
3k views

apt-get gives error: Unable to locate package <package name> for all packages

I have a fresh install of Ubuntu Server 13.10, and I'm trying to install an FTP server, but apt-get doesn't seem to want to install anything. sudo apt-get install vsftpd brings the error: unable to ...
0
votes
0answers
33 views

On linux ubuntu 'sudo apt-get…' fail [closed]

When I do: sudo apt-get install ssh I get errors such as: Could not connect to it.archive.ubuntu.com:80 (193.206.140.45) - connection timed out I get similar errors for all other apt-get calls. ...
1
vote
1answer
209 views

Can't install xfce due unmet dependency

i wrote a CD with an iso-image from debian.org. the debian-7.5.0-amd64-CD-1.iso from this folder. Debian Wheezy 7.5 stable 64bit There was an error at Select and install software step. It said ...
0
votes
2answers
1k views

How to get apt-get source verification working?

Example (Using Debian Wheezy): sudo apt-get source hello Result: Reading package lists... Done Building dependency tree Reading state information... Done Need to get 705 kB of source ...
0
votes
0answers
422 views

Error with “sudo apt-get upgrade” (Ubuntu 14.04)

You can see below the error I encounter. I did search on Google if the question has already been asked (and answered) but nothing works for me. I can't do sudo apt-get upgrade or install. Thanks in ...
4
votes
1answer
167 views

Unable to install Imagemagick on Ubuntu 12.10

I've got a virtual machine running on Ubuntu 12.10. When I try to run apt-get install imagemagick I get several 404 errors: Err http://archive.ubuntu.com/ubuntu/ quantal-updates/main libcups2 ...
0
votes
2answers
51 views

Determine Effective Security Version when faced with Backpatching?

The Heartbleed bug has a lot of people asking how to check the version of an installed package. I'm included since I have not discovered a way. Unfortunately, backpatching has made version checking ...
27
votes
2answers
20k views

How can I check the version of packages to be installed with apt-get?

After running apt-get upgrade, I get a list of the packages that will be upgraded. I would like to know the version number for one of these packages. (Not the current one but the one that will be ...
2
votes
1answer
95 views

apt-get wants to remove MariaDB on Debian Wheezy

I've set up my server to use MariaDB and used the installation instructions on the web page. It worked quite well. Now, if I want to dist-upgrade, apt-get wants to replace MariaDB with MySQL: The ...
0
votes
4answers
219 views

How to do sudo apt-get on an AIX machine

I don't understand this AIX. How do I do sudo apt-get on AIX? -bash-3.00$ sudo -bash: sudo: command not found -bash-3.00$ apt-get -bash: apt-get: command not found
3
votes
1answer
406 views

Alternatives to Gentoo Prefix?

Are there any package managers that: work without root privileges, and install packages at a custom location (similar to ./configure --prefix), and install stable packages (unlike Gentoo Prefix ...
0
votes
2answers
142 views

Creating a simple custom apt-get/config script

As I play more and more with Ubuntu, I'm starting to see how I can automate the majority of the repetitive commands that I perform whenever I reinstall the operating system. Thus far, it's just one ...
0
votes
2answers
112 views

Preventing apt-get to install X11 packages when installing doxygen

I wanted to install Doxygen on my server, but I did not do it through apt-get, because it necessarily came with x11 packages. # apt-get install doxygen The following extra packages will be ...
1
vote
2answers
634 views

Ignore packages that are not currently installed when using “apt-get remove”

I have a scenario where I'd like to remove a set of packages that may or may not be installed, and I'd like apt-get to remove those that are and silently ignore those that aren't. Something like: ...
1
vote
1answer
36 views

apt-get install re-attempts failed installs

I've used apt-get to download some application some of which failed. When I run apt-get now it looks like it keeps trying to download these previously failed installs. Is there anyway to get rid of ...
0
votes
1answer
40 views

How to list files installed by an apt-get package?

This problem reoccurs to me every so often, and neither google nor man pages ever helped me to resolve it. The question is, how can I ask apt-get or his friends (apt-file or apt-cache) to give me a ...
0
votes
0answers
35 views

Pointing apt-get to another repo

I am trying to point apt-get into another repository manager. But as i am new to ubuntu, i can't recognize some ubuntu specifics. :S I am trying to point apt-get to http://mirrors.kernel.org/ubuntu/ ...
0
votes
1answer
200 views

Tor - dependency/package error on debian wheezy

When I am trying to install Tor on Debian wheezy via Apt-Get CLI, I am getting the below error. Libevent and LibSSl are already installed on the system. Do you have any suggestions on how to resolve ...
0
votes
0answers
130 views

Linux Mint 15 won't login in user profile after apt-get upgrade

I installed an external library for Pillow (PIL fork) and got tried to install another one after that and I got an error message for broken packages. I ran apt-get update and got an error saying that ...
0
votes
2answers
51 views

Installing TOMCAT on Debian without apt-get

I have access to a machine on a scientific hpc, and I'm setting up an environemnt to create a web application, made up basically of TOMCAT and postgresql. I cannot use another web server. The OS is ...
1
vote
1answer
152 views

What to do when launchpad is down?

As I am writing this (Friday, November 8, 2013 at 9:59:18 PM EST) launchpad is down. Apparently there is a power failure (https://twitter.com/launchpadstatus/status/398980619880775680). I tried ...
0
votes
1answer
47 views

Where does system downloads the files?

I have Elementory OS currently running on my PC. It is based on Debian-Ubuntu. I had recently run the command "apt-get upgrade" and downloaded 162 MB of data Now I don't have an internet on another ...
0
votes
1answer
283 views

Issues installing MariaDB (5.5.34) on Debian 7 (Wheezy)

When attempting to install MariaDB (5.5.34) on Debian 7 (Wheezy) apt-get outputs the following: Setting up mariadb-server-5.5 (5.5.34+maria-1~wheezy) ... [ ok ] Stopping MariaDB database server: ...
1
vote
2answers
171 views

How do I restore original configuration file that's in the home directory?

I'm asking in general but also because I'd like to know how to restore a configuration file of the Transmission bittorrent client (apt package is named transmission-gtk). I'm on Ubuntu 13.10, and it ...
2
votes
1answer
754 views

Will “apt-get dist-upgrade” update my Ubuntu to the next major release?

I'm trying to cleanup the following error message: pdf-reader /home/jseidel/ebilling_1393100.pdf Traceback (most recent call last): File "/usr/lib/command-not-found", line 10, in <module> ...
-1
votes
1answer
1k views

Debian: apt-get doesn't find any package

I've got the Problem that apt-get doesn't find any package on my new installed Debian 7.3. First I got the error that I should enter the Installation-CD, then I edited the /etc/apt/sources.list and ...
0
votes
3answers
2k views

Trying to update debian not working

As root i type this command apt-get update and get these error messages. > Err http://security.debian.org lenny/updates Release.gpg ...
1
vote
0answers
81 views

Debian Jessie repositories and git

How should I edit the sources.list so I will be able to get Git via apt-get? If I run apt-get install git now, I get Unable to locate package git While I can manually download and compile ...
0
votes
1answer
2k views

How to upgrade virtualbox 4.2 to 4.3 on debian wheezy with apt-get?

I'm running VirtualBox 4.2 and it keeps telling me that 4.3 is available for update. However when I do apt-get update and the apt-get upgrade I don't get any updates. My sources.list contains deb ...
0
votes
1answer
1k views

debian cannot uninstall dovecot

I have a problem with uninstalling dovecot. And while trying to fix it I made it way worse. Here is the "log": Errors were encountered while processing: dovecot-imapd dovecot-pop3d E: Sub-process ...
4
votes
2answers
2k views

How to upgrade to latest git on debian 7?

I have installed git through apt-get on debian 7 which gives me: # git --version git version 1.7.10.4 I would like to ugrade to the latests version of git. I have tried: sudo apt-get install ...
1
vote
1answer
703 views

Apt-get install r-base installing R version 2.15, not R 3.0

I'm installing R on an Ubuntu 12.10 x64 and when I run: sudo apt-get update sudo apt-get install r-base And I am getting R version 2.15.1. Shouldn't this get me the most recent version R 3.0.2?
0
votes
4answers
267 views

How to completely remove my Emacs?

I downloaded Emacs source files, and installed it using make. After installing Emacs successfully, I manually removed the downloaded source files to save disk space. Now I want to remove Emacs and I ...
2
votes
1answer
270 views

python2.7: can't open file '/usr/lib/python2.7/py_compile.py'

I'm getting lot's of error with apt-get. I've tried to install package manualy but everything seems stucked. mio@vm:~$ sudo apt-get install --reinstall python2.7-minimal Reading package lists... Done ...
1
vote
1answer
189 views

Debian Testing installs Iceweasel ESR (severely outdated)?

I just reinstalled Debian Testing, and for some reason, instead of Iceweasel 25, I have 17. The installed and candidate versions are both 17.0.9esr-1~deb7u1. apt-get update && apt-get upgrade ...
0
votes
2answers
193 views

Not able to apt-get update from terminal, what to do now?

Whenever I try to update from terminal, I get this error: root@Utkarsh[utkarsh]#apt-get update Hit http://packages.bosslinux.in anokha Release.gpg Hit http://packages.bosslinux.in anokha Release Hit ...