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
1answer
52 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
305 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
412 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 ...
0
votes
4answers
401 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
0
votes
0answers
157 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 ...
-1
votes
1answer
3k 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 ...
1
vote
0answers
113 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
3k 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 ...
1
vote
2answers
2k 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 ...
0
votes
2answers
457 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 ...
1
vote
1answer
887 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
440 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 ...
0
votes
1answer
6k 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 ...
1
vote
1answer
239 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 ...
2
votes
1answer
421 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
225 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
2answers
250 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 ...
0
votes
0answers
75 views

apt-get resolving hosts error

My every apt-get command ends with someting like this: Err http://security.ubuntu.com quantal-security Release.gpg Temporary failure resolving 'security.ubuntu.com' Err http://rs.archive.ubuntu.com ...
0
votes
1answer
844 views

Ubuntu says Unable to Locate Package (no not the common issue)

I tried to install some third party packages by following instructions on this URL. After doing the following, I started to get the error "Unable to locate the package" root@ubuntu:/# cd /root/ ...
4
votes
2answers
8k views

How to fix“error while loading shared libraries: libgl.so.1”

After I run this command dpkg -l |grep ^rc|awk '{print $2}' |sudo xargs dpkg -P I got the problem while opening smplayer,cairo-dock,unity-2d-shell and amdconfig ,"error while loading shared ...
1
vote
2answers
284 views

Debian: why are the suggested upgrades from apt-get and synaptic different?

I am running Debian Jessie, and this is the content of my sources.list file: deb http://ftp.debian.org/debian jessie main contrib non-free deb http://security.debian.org/ jessie/updates main contrib ...
0
votes
1answer
761 views

python2.7-dev unmet dependencies on Ubuntu 12.04

I installed python2.7 on Ubuntu Lucid a couple of months ago through a PPA. Everything went fine and there was no problem. Yesterday, I upgraded from lucid to Ubuntu Precise and the upgrade went ...
1
vote
1answer
269 views

Replace/reinstall /usr/bin/apt-get?

Running any sudo apt-get command gives the error: /usr/bin/apt-get: 1: /usr/bin/apt-get: Syntax error: end of file unexpected (see Related question) Is there a way to reinstall the apt-get program ...
6
votes
3answers
4k 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 ...
2
votes
1answer
143 views

Could not perform immediate configuration on 'perl'

I'm trying to upgrade a debian squeeze system to wheezy. I've done an apt-get update && apt-get -V upgrade on squeeze, then changed my source.list to reference wheezy not squeeze. then, ...
0
votes
1answer
1k views

How to add yourself to sudoers list?

I was trying to install a package using the command: sudo apt-get install ruby-rvm But I'm prompted with nish is not in the sudoers file. This incident will be reported. I tried to add myself ...
0
votes
1answer
368 views

Error: Sub-process /usr/bin/dpkg returned an error code (2)

I am running 64bit Ubuntu 13.04 I tried to install cairo-dock executed these command : sudo add-apt-repository ppa:cairo-dock-team/ppa - went well, no error. sudo apt-get update - went well, no ...
1
vote
0answers
925 views

Dkpg very very broken, how to repair / start from clean slate?

I am using Ubuntu 10.04. I inherited this set up from a previous employee who was supposed to be administering this machine, so I can not tell you what happened in the lead up to this problem. ...
2
votes
2answers
2k 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 ...
2
votes
2answers
128 views

How can I review updates before actually upgrading with apt-get in Debian

Before acutally doing #apt-get upgrade on a Debian server, I'd like to get an overview of the package names about to be updated and what the changes are in those packages. Recently my root account ...
0
votes
4answers
75 views

How do I get a list of programs that can be installed?

On Linux Mint, where can I find a list of programs that can be installed using sudo apt-get install (name) ?
0
votes
2answers
1k views

apt-get and php5 on Ubuntu - Impossible to install cause of dependencies

I am trying to run sudo apt-get install php5 And getting this error Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. ...
1
vote
0answers
268 views

Unmet Dependencies on Debian with iRedMail

I'm using Debian Squeeze to try and install iRedMail (http://www.iredmail.org/). This is the error I get: Some packages could not be installed. This may mean that you have requested an impossible ...
0
votes
1answer
45 views

Why am I not able to get access to the kernel on Ubuntu with the following code?

I tried the following command but it's not working: apt-get source linux-image-$(uname -r)
1
vote
0answers
120 views

Configure apt-get unable to install specific package without version mentioning

Is there a way to configure apt-get to make unable to install specific package without setting version? So, as a user I want to get an error if version is unspecified for package X only: apt-get ...
4
votes
2answers
3k views

Can I make apt-get always use --no-install-recommends?

A bit of background, feel free to skip this paragraph if you don't care. I have a bit of academic experience with linux and unix from college but I'm still somewhat of a n00b because I was always a ...
0
votes
2answers
2k views

apt-get is unable to lock the administration directory while installing

I'm running Linux Mint 15 with Cinnamon. I'm fairly new to Linux, and I'm operating from an 8 GB memory stick. In the terminal, I typed the following line: sudo apt-get install supertuxkart It was ...
0
votes
1answer
322 views

apt-get install reading package list… error

so I'm trying to install heroku toolbelt with wget -qO- https://toolbelt.heroku.com/install-ubuntu.sh | sh but, I get this error: Ign http://packages.medibuntu.org precise/non-free ...
0
votes
1answer
77 views

How to apt-get latest package version

I am running Ubuntu 12.04. I need to upgrade my version of gnome-control-center from gnome-control-center 1:3.4.1-0ubuntu1 to gnome-control-center 1:3.4.2-0ubuntu0.11 as it should hopefully fix ...
1
vote
1answer
478 views

Debian - install new software by apt-get over SSH

I tried to install new software when I was connected to my Debian over SSH, for example sudo apt-get install subversion, and after calculating dependencies, required space, etc. APT asked, if I want ...
0
votes
1answer
259 views

Qn: Is apt (on the Mac) the same as apt-get?

I'm a little new to this so pardon me. I am following a book which requires me to do "sudo apt-get install..." on an Ubuntu OS, but I only have a Mac. Found a UNIX executable in my Mac installed by ...
1
vote
2answers
2k views

Raspberry Pi apt-get upgrade failed

When trying to get the camera for the raspberry pi working, I had to start with an update and upgrade. When doing so, I received an error which I was forced to remove the update lists and try again. ...
1
vote
1answer
513 views

Ubuntu/apt-get: redownload all extra/suggested packages dependencies

I have two computers: one's online and fully updated, the other's offline. I want to download specific .deb files to deploy them on offline computers manually. For instance I want to install ...
0
votes
1answer
366 views

apt-get Syntax error: end of file unexpected

Trying to run any apt-get commands from the terminal gives me a syntax error. Synaptic and Software Center work fine (Ubuntu 13.04). For example: sudo apt-get install mpack /usr/bin/apt-get: 1: ...
1
vote
1answer
417 views

How to get latest nginx in Wheezy using apt-get

It seems like the nginx package in debian wheezy apt-get is old and only goes up to 1.2 whereas the latest version is 1.4 Do I really have to build it from source or is there a way to get the latest ...
0
votes
1answer
173 views

How to use axel or aria2 for apt-get?

I have a beauty debian :P and 6Mb p/s Internet. But when I will download install a package from repo download speed is very slow (40kb p/s). And when I will download a package from web page I ...
0
votes
1answer
347 views

apt-get -d download to a specific directory

What are the options for apt-get on debian to download to a specific directory. Right now I'm using apt-get -d install packagename and then just fetch it in /var/cache/apt/archives/ but it would be ...
0
votes
1answer
441 views

dpkg : dependency problems - leaving unconfigured

I have a problem with Emacs on my Linux Mint. When I make an apt-get upgrade or apt-get -f install, I have this error message : Paramétrage de emacsen-common (2.0.3) ... ...
6
votes
1answer
4k views

Getting R 3.0 in Ubuntu

I am currently using R 2.15.3 (Security Blanket) in Ubuntu. R 3.0 is already released, but I could not update to it using apt-get. Will there be any trouble if I install it from tar.gz from cran ...
0
votes
1answer
1k views

Ubuntu 12.10 sources.list empty after install

I recently installed the Ubuntu 12.10 server version from a USB flash drive. The step "Install additional software" or whatever kept on failing, so I ignored it and continued. Everything else worked ...