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)

0
votes
1answer
107 views

I can't update my 12.04 LTS for Linux

If I try to update my 12.04 LTS for Linux Ubuntu I get this message: Could not initialise the package information An unresolvable problem occurred while initialising the package information. Please ...
11
votes
3answers
39k views

Problem installing Python-Dev

I am having trouble installing python-dev. It all started when I tried to install another Python package and got the error: SystemError: Cannot compile 'Python.h'. Perhaps you need to install ...
1
vote
1answer
2k views

Apt behind proxy

I've been trying to get a package manager to work behind our company proxy for a whole day now but without any luck. The proxy requires authentication which is my personal email address and password. ...
2
votes
1answer
838 views

How to install the apt-get command, when it's itself been removed?

I installed Ubuntu 11.10 on my Asus tf101 and wanted to strip it down a little bit removed the desktop environment and any application that comes with it. By doing this I accidentally removed removed ...
1
vote
1answer
189 views

Trouble installing libflann1.7-dev on ubuntu

I am trying to install libflann1.7-dev I have removed libflann1, so now I have no libflann at all. Next I ran: sudo apt-get install libflann1.7 which installed fine, I then try to install ...
5
votes
1answer
7k views

Reinstall package and its installed dependencies

I've got a package installed that is broken (the package itself, not its dependencies). Reinstalling it with sudo dpkg-reconfigure <package> or sudo apt-get --reinstall install <package> ...
2
votes
1answer
249 views

upgrade MySQL through apt not effect?

I am upgrading mysql-server and mysql-client my 12.04 using apt-get. seems the upgrade didn't take effect? Any thoughts why this happen? I did reboot after upgrade. Thanks. $ mysql -V mysql Ver ...
2
votes
2answers
2k views

python2.7: not found: Unable to install or remove any packages

I am currently unable to install any packages. At first it started with complaints that it couldn't find /usr/bin/python (not 100% sure of the path here) so I tried to re-install python using ...
0
votes
1answer
84 views

APT autoremove old packages

How to autoremove all installed packages and not existed in repositories? Example: after several dist-upgrades there is many libs (libapt-inst1.3 libapt-inst1.4 libapt-inst1.5, great count of ...
0
votes
1answer
121 views

How do I prevent apt-get upgrade from installing unwanted packages

Package "gwibber" is not installed on my server, and yet when I run apt-get upgrade I see the following: Reading package lists... Done Building dependency tree Reading state information... Done The ...
1
vote
0answers
42 views

sources.list & sources.list.d in /etc/apt [duplicate]

I could find that there is a sources.list file as well as a sources.list.d directory in the /etc/apt directory. If I am not wrong, both are used to set up the deb files for the packages we need to ...
0
votes
1answer
537 views

WiFi not working on MacBook Pro running 12.10

I've seen many other posts like this and found one other where the problem was resolved, but the terminal commands given were for a different pcid than mine. I ran several commands including: sudo ...
28
votes
3answers
16k views

connecting to archive.ubuntu.com takes too long

I have a Ubuntu 11.10 server that I just installed fresh. Now if I try to do anything with apt-get, it tries to connect to archive.ubuntu.com .. It stays at [Connecting to archive.ubuntu.com ...
1
vote
0answers
25 views

failed to update apt-get [duplicate]

every time i run sudo apt-get update the following error occurs . W: Failed to fetch http://ppa.launchpad.net/ackondro/tibesti/ubuntu/dists/quantal/main/source/Sources 404 Not Found W: Failed ...
2
votes
0answers
364 views

How can I make squid-deb-proxy work with proxy authentication?

I have squid-deb-proxy working fine without a problem without apt proxy authentication. However when I add a proxy file to /etc/apt/apt.conf.d and put in my proxy authentication inside this file. ...
2
votes
1answer
260 views

How to create package download script with correct dependencies?

In Synaptic it's possible to select a bunch of packages for installation (or reinstallation), then just click File → Generate package download script to get a set of commands to download the ...
2
votes
1answer
270 views

How does squid-deb-proxy handle older/newer versions of Ubuntu?

I followed Jorge Castro thread here and its working without a problem! on 12.04-2 x64 bit. However I have a question: If there is an old/newer version client of ubuntu. How does it fetch cached ...
2
votes
1answer
1k views

Upgrade has a problem

When I use: sudo dpkg --configure -a, I get this: Setting up rsyslog (5.8.6-1ubuntu9.1) ... dpkg: error processing rsyslog (--configure): subprocess installed post-installation script returned ...
4
votes
3answers
7k views

Ubuntu 12.04 boots into black blank screen

I installed Ubuntu server 12.04 about 2 weeks ago. It had been working well and running 24/7 until I accidentally restarted it yesterday. Shouldn't have been a problem, yet now it just sits at a black ...
2
votes
1answer
348 views

Debian Package Creation- how to define environment variables within the package

I built a package with the sudo-ldap package defined as a dependency in the control file (please see below). I'm going to have people install using the gdebi command to install which should install ...
0
votes
1answer
295 views

VLC installation on Lucid

Environment : Lucid Lynx (Ubuntu 10.04) I had installed VLC 1.0.6 using the following: % sudo add-apt-repository ppa:lucid-bleed/ppa % sudo apt-get update % sudo apt-get install vlc vlc-plugin-pulse ...
13
votes
2answers
6k views

Seeing apt-get changelogs for to-be-upgraded packages

This question describes how to get the changelog for a given package. However, it's the whole changelog. What I'd like is a way to see what's changed in whatever I'm about to upgrade. For example, I ...
0
votes
2answers
4k views

When installing updates or from software center in Ubuntu 12.04, error messages

I have a new computer with plenty of disk space. There's a solid state boot drive and a regular disk where I put my files. So the primary thing happening is that for the last few weeks, whenever I ...
0
votes
2answers
93 views

How to fix an error installing Samba?

I cannot install Samba in my computer, I get the following error message: Could not connect to 192.168.1.5:3128 (192.168.1.5). - connect (113: No route to host)Failed to fetch ...
3
votes
3answers
524 views

How do I Install Macaulay2 in Ubuntu 12.10?

I am trying to install Macaulay2. I am running Ubuntu 12.10. I have modified /etc/apt/sources.list as explained at the official site and followed the steps but somehow when I use synaptic package ...
1
vote
0answers
594 views

Package dependencies errors?

I have some problems with Lubuntu. When I tried sudo apt-get update: Fetched 1,222 kB in 7s (171 kB/s) ...
3
votes
4answers
2k views

Why am I prompted to accept a Microsoft EULA when I run apt-get install?

Whenever I use sudo apt-get install packagename, it will start installing. I will type "Y" when prompted then this will pop up: TrueType core fonts for the Web EULA END-USER LICENSE AGREEMENT FOR ...
2
votes
1answer
1k views

Error in package list does not allow software installation

just installed ubuntu 12.04. It's my first time and I cant seem to be able to install software available for download. When I use sudo apt-get update and sudo apt-get install on terminal, I get the ...
3
votes
2answers
93 views

How to determine if a package is safe to uninstall?

I know that there are many recipes/strategies for getting a "minimal Ubuntu", but they are too extreme for what I'm trying to do. Still, I suspect that I have a ton of packages installed that I don't ...
2
votes
2answers
1k views

How to uninstall unused window managers and related packages?

I have uninstalled most unused session managers, but there are a few that still show among the options at login. The full list is: Gnome classic Gnome classic (No ...
3
votes
1answer
1k views

“Could not import runpy module” when running apt-get on Xubuntu 12.10

Just installed Xubuntu 12.10, on first apt-get update and upgrade I got Could not import runpy module and all installs seem to stop there. E.g. sudo apt-get --reinstall install python gives the ...
0
votes
1answer
807 views

Php repository without suhosin

I don't really know how to or want to compile php from source, but i need php without suhosin. As you may know the main repository comes with suhosin patch. this is causing errors on my website and I ...
0
votes
1answer
885 views

Can't install VMWare Player on Ubuntu 12.10?

I was attempting to install VMware Player through the terminal using these codes: sudo apt-get install build-essential linux-headers-uname -r mkdir ~/VMware && cd ~/VMware wget ...
2
votes
1answer
127 views

Is it possible to remove all the packages installed from a specific repository?

I would like to remove every package that came from the Multiverse repository. What is the best way to do this?
0
votes
1answer
93 views

Which repository are free software on 12.04

I know restricted and multiverse are not free software, but what about source code and independent? EDIT : I'm referring to free as in freedom.
1
vote
1answer
645 views

.deb package creation. Why are my files not being installed?

I'm a newbie with package creation so please feel free to slap me down as needed :). In any case, I wanted to create a package that would install and set up all of specific ldap related packages and ...
-2
votes
1answer
2k views

Not able to apt-get install any software [closed]

I am using linux mint 9. Recently I have been facing this problem, when ever I want to install any software through sudo apt-get install it does not succeed. It shows E: Malformed line 12 in source ...
7
votes
1answer
2k views

Using apt-get install in a live environment

I would like to know where does data stores when I use apt-get install in a live environment (2GB USB). Does this write data on the HDD? Thanks.
3
votes
1answer
252 views

Completely removing a package

I have recently corrupted my Gimp installation. When I try apt-get remove gimp it removes it. But when I try to reinstall it fresh from repository, it won't. It just installs it back from local ...
2
votes
2answers
1k views

apt-get count the number of updates available

currently I use this to count the number of available updates NUMOFUPDATES=$(aptitude search "~U" | wc -l) Is there a way to do the same with apt(not aptitude) but not using the update-notifier?
1
vote
1answer
5k views

get apt-get stop using ipv6

I'm trying to use apt-get update or any other apt-get command it gives me this error: Hiba történt „2001:db8:dbb:1:1:1:1:221:8049” feloldásakor (-9 - A címcsalád a gépnévhez nem ...
2
votes
2answers
2k views

Various segfaults in syslog; firefox, apt-get and other apps broken

I am working on an Ubuntu 12.04 installation that has recently started misbehaving. It is used by multiple people at an office, so it's possible someone messed things up (although the only user who is ...
3
votes
1answer
3k 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
918 views

playonlinux installation failed how do I fix it? [duplicate]

So I was installing playonlinux as I wanted iTunes. I typed in the terminal sudo apt-get install playonlinux and it went well. But I can't find it on my laptop anywhere. When I try to install it again ...
3
votes
4answers
157 views

How to find applications installed today?

Is there any command to list which applications have been installed today via apt-get or dpkg? Is there any other way to find this information?
0
votes
1answer
58 views

how export all software upgrade links (.deb) in text file by terminal

update Ubuntu by usual way and slow internet is problem for me. Is there a way into terminal, get all link files that is going to be updated (eg, the address for Firefox ...
3
votes
1answer
251 views

Error Installing Grails - Unmet Dependencies

I am installing Grails on 12.10, using the instructions on grails.org, but am getting an error on the 3rd step, as outlined below. sudo add-apt-repository ppa:groovy-dev/grails sudo apt-get ...
4
votes
1answer
13k views

Unable to locate package python-pip

Hi I am trying to install electrum in my ubuntu live usb. Please forgive me because I am very new to this OS. I have also made a presistence 4GB space for future installation sofwares. How can I get ...
1
vote
0answers
1k views

how to remove a foreign architecture?

On Ubuntu 12.04 LTS x64, we'd like to remove the i386 foreign architecture it comes with, but I don't see a "dpkg" command to do this cleanly. In Stuck with foreign-architecture=i386 when using ...
0
votes
1answer
147 views

apt-get has a error [duplicate]

when I use: sudo apt-get upgrade I get this Error: E: Could not open file /var/lib/dpkg/status - open (2: No such file or directory) E: The package lists or status file could not be parsed or ...