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

1
vote
2answers
2k 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 ...
1
vote
0answers
5 views

apt-get Syntax error: end of file unexpected [duplicate]

Trying to run any apt-get commands from the terminal gives a syntax error. Synaptic and Software Center work fine (Ubuntu 13.04). For example: sudo apt-get install mpack /usr/bin/apt-get: 1: ...
0
votes
1answer
38 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
18 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 ...
1
vote
1answer
36 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
19 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
19 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
0answers
20 views

Upgrade mysql 5.5.2 to stable version

I have ubuntu 11.10 server, and i have installed mysql 5.5.2 using aptitude. but this version of mysql is not stable and i am facing a lot of problems in it. now i am thinking in upgrading it to ...
0
votes
1answer
65 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) ... ...
3
votes
1answer
537 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
64 views

Ubuntu 12.10 sources.list empty after install

I recently installed the Ubuntu 12.10 server version from a USB stick. The step "Install additional software" or whatever keeps failing, so i though screw it and continued. Everything else worked like ...
4
votes
2answers
3k views

Trouble getting latest version of Git

I am using Ubuntu 10.04 LTS. I'm looking at using git as source control for personal projects and Github as a remote repository. I was having trouble pushing a commit to my remote github repo getting ...
0
votes
2answers
223 views

Debian 6.0.6 apt-get “unable to locate package” - how do I find the package?

I'm running Debian 6.0.6 and trying to install libeigen3-dev using: sudo apt-get install libeigen3-dev But I get the following output: Reading package lists... Done Building dependency tree ...
1
vote
0answers
692 views

Why did I fail to install packages when using debian?

There is lots of messed up dependency. How can I resolve this problem? It produces the following output: Reading package lists... Done Building dependency tree Reading state information... Done Note, ...
8
votes
6answers
27k views

Installing sun-java6-jdk with apt-get on Ubuntu 10.04

I have followed the instructions on numerous pages, such as this, which say to run the following commands: sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner" sudo apt-get ...
-1
votes
1answer
29 views
0
votes
0answers
60 views

Error while installing new Package (Debian wheezy)

I tried to install bootlogd and python-pip on my Raspberry Pi. But after 65% of "reading the database" it got stuck and after about half a minute an error occurs. Here is an example of my problem: ...
1
vote
1answer
819 views

How to specify directory for apt-get to save the packages

is there any way to specify the destination directory for each download in apt -get command to save all the downloaded packages in a custom directory instead of archive directory for offline use. If ...
0
votes
0answers
169 views

apt-get “Broken packages”

While installing python-dev: sudo apt-get install python-dev I am getting the following error: The following packages have unmet dependencies: python2.7-dev : Depends: python2.7 (= 2.7.3-0ubuntu3) ...
0
votes
2answers
91 views

How to inform Ubuntu 12.04 apt-get about older installed version of php

Recently installed php5.3.22 on Ubuntu 12.04 from an excellent install script provided by git://github.com/vladgh/VladGh.com-LEMP.git. This works perfectly. The issue I have is that I now want to ...
0
votes
2answers
62 views

How to upgrade an installed package under Ubuntu 12.04

Based on https://help.ubuntu.com/8.04/serverguide/apt-get.html The way to upgrade packages is to: sudo apt-get update sudo apt-get upgrade However, I simply just want to upgrade one software for ...
8
votes
3answers
9k views

When would you use apt-get remove over apt-get autoremove?

I understand that apt-get remove removes packages and apt-get autoremove is to remove any packages that were installed to fulfil a dependency for a given package. So for example if I installed ...
0
votes
1answer
16 views

Linux's Packages updates

I'm trying to reset a Windows's password I have on a computer through a Debian distribution I have on the same machine, the best way for doing this is with a package u can apt-get called chntpw, the ...
0
votes
1answer
220 views

ubuntu: upgrading

i have some kind of problem with my system (it's a kvm vm with 2 gig ram and 50gig hd). when i try to install "linux-image-3.2.0-38-generic-pae" using apt-get, i'm told that there's no space left on ...
0
votes
0answers
81 views

Parallels Ubuntu not booting

I am using Ubuntu 12.04 in Parallels Desktop 7. I was trying to sudo apt-get install subversion. But I was asked to apt-get -f install. I did it. But after some time, i was asked to restart my ...
0
votes
1answer
30 views

Is there a reference for understanding and fixing broken dependencies?

I've seen the following line once or twice while installing packages on Ubuntu: Depends: <package> but it is not going to be installed I've seen people suggest various commands to run to fix ...
2
votes
2answers
1k views

Mistakenly ran “sudo apt-get remove python” (system is not working in normal mode, is there any solution?)

By mistake I ran the following command: sudo apt-get remove python After this my PC is no longer working properly. It shows graphics problem during restarting and every time it starts in Grub ...
1
vote
4answers
2k views

“sudo apt-get update” packages 404ing in linux mint nadia

In Linux Mint Nadia (Cinnamon), when I run sudo apt-get update I got the following set of error: I removed http://'s due to superuser.com's spam filtering. Fetched 173 kB in 13s (12.5 kB/s) W: ...
0
votes
1answer
81 views

Error reading package lists

I have been trying to get updates on my Quantal Desktop and apt-get update gives me the following: Reading package lists... Error! E: Encountered a section with no Package: header E: Problem with ...
1
vote
0answers
40 views

How to uninstall a program that was not installed using the package manager?

So, I installed canto Atom/RSS reader using the source from the official website, but it was throwing me errors so I installed it using apt-get (this worked). Now, I want to uninstall the original but ...
2
votes
0answers
38 views

Apache2 and PHP5 repository down?

I've recently been trying to get PHP and Apache on my Raspberry Pi as to make it a web server but when I try to apt-get them from their respective repositories, it gives me a bunch of '404 not found'. ...
3
votes
4answers
43 views

How to find out what files will be installed in the filesystem when installing a package with aptitude?

In my case I want to do aptitude install wireless-tools but want to know which files will be installed and where in the filesystem before I install the package.
1
vote
1answer
415 views

Install custom software on Iomega PX4-300D NAS (Debian OS)

I am trying to put additional software on my Networked Attached Storage (NAS) The NAS appears to be running Debian. Anyway, apt-get is already on the machine. I just needed to add the correct ...
0
votes
0answers
37 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
241 views

What is the error on executing apt-get (GLIBCXX_3.4.15 not found)?

I have an error by installing and executing the apt-get (there is no package manager except udpkg): apt-get: /usr/lib/libstd++.so.6: version GLIBCXX_3.4.15 not found (required by apt-get) I have ...
2
votes
1answer
79 views

Fix libboost-dev broken dependency

I need to install fcl which depends on libboost-dev. However, libboost-dev depends on libboost1.46-dev and it refuses to install because I have the newer libboost1.48-dev. I have followed ...
1
vote
0answers
137 views

apt-get install: Error: Timeout was reached?

What has gone wrong if this error message appears AFTER apt-get has finished downloading and installing packages? ... Processing triggers for menu ... Error: Timeout was reached Edit: This ...
0
votes
1answer
85 views

What do Inst and Conf refer to when using the command apt-get in Linux?

When I run the command apt-get install flashplugin-installer I am displayed the following lines of details Inst flashplugin-installer [11.2.202.233ubuntu0.11.04.3] (11.2.202.235ubuntu0.11.04.1 ...
5
votes
4answers
2k views

When you do “apt-get install” where are the .deb files stored?

I am trying to copy all of the packages I have installed on one Debian machine to another Debian machine without doing another apt-get install and downloading all of the package all over again.
0
votes
0answers
400 views

postgresql broken Ubuntu 12.04 packages

After system update about a week ago apt-get got broken dependencies on my 12.04 LTS. I can't remove the package by apt-get remove postgresql-9.1 I tried both sudo apt-get -f install sudo dpkg ...
0
votes
1answer
87 views

How to install software in linux using windows?

I have windows 7 running, but I have the machine inside a domain, with Active Directory. I need to install likewise in a virtual machine running linux (Ubuntu), but unless I connect the VM to ...
0
votes
1answer
182 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
votes
1answer
155 views

Azure's Ubuntu 12.0.4 fails to install PHP5

Similar to this article from Azure themselves: http://www.windowsazure.com/en-us/manage/linux/common-tasks/install-lamp-stack/ I am trying to install PHP5 on Ubuntu 12.0.4 virtual machine. However, ...
1
vote
1answer
213 views

Ubuntu: apt-get “Building Dependency Tree” is extremely slow

On a new Ubuntu Server 12.10 installation, running apt-get install results in extremely slow progress while "Building dependency tree". The process has been going for about 15 minutes with about 17% ...
0
votes
1answer
329 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 ...
2
votes
1answer
962 views

Problems with apt-get(unmet dependencies)

I am using Ubuntu Desktop 12.04(64 bit). I have downloaded skype from the official website and opened the deb package from the terminal(sudo dpkg -i skype-ubuntu-precise_4.1.0.20-1_i386.deb) but ...
0
votes
0answers
111 views

Force apt-get update to return success

I'm working with a system that invokes apt-get update from a Ruby Capistrano recipe. Capistrano cares (apparently) about the return code of the shell commands it executes. apt-get update is running ...
0
votes
0answers
46 views

Why apt-get cannot install software?

Each time I execute apt-get install (e.g. gzip) I get the problems of kind: Depends: <some_package> but is not going to be installed Depends: <some_package> but is not installable For ...
3
votes
1answer
1k views

Postgresql has broken apt-get on Ubuntu

On ubuntu 12.04, whenever I try to install a package using apt-get I'm greeted by: The following packages have unmet dependencies: postgresql-9.1 : Depends: postgresql-client-9.1 but it is not going ...
0
votes
2answers
156 views

Installing php on Ubuntu 8.10; package not found?

I'm new to linux. For some work I need to install php but not necessarily apache as I'm using my own webserver. I'm using Ubuntu 8.10. But when I try to install php I get the following error. ...

1 2 3