Advanced Packaging Tool, package manager for Debian based distributions. It is also the most basic tool install packages in Ubuntu. Questions about using any of the apt tools, should use this tag.

learn more… | top users | synonyms (1)

5
votes
3answers
2k views

How to remove recommended and suggested dependencies of uninstalled packages?

I know of How to remove an uninstalled package's dependencies? and I tried apt-get autoremove but that does not remove dependencies that are recommended/suggested by other packages. That is, ...
0
votes
1answer
1k views

E: Unable to locate package bfgminer

I recently set up cubieboard with Linaro Ubuntu 12.04 installed. Everything seems to be okay when i try to run these commands: linaro@cubieboard:~$ sudo add-apt-repository ppa:unit3/bfgminer sudo: ...
0
votes
0answers
24 views

How can I solve “Could not get lock /var/lib/dpkg/lock” error? [duplicate]

How can I solve this? I am a new user. Here is the error: E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory ...
4
votes
1answer
37 views

What does “imagemagick [security]" mean in the online package list?

If I search for the package "imagemagick" in http://packages.ubuntu.com/ it gives me the result and the word security written like this: [security]. Does it mean it is in the main repository? Another ...
2
votes
1answer
480 views

Unable to run any apt-get command

This is a weird problem and I can't find a direct solution. I ran sudo apt-get update && sudo apt-get upgrade -y (I haven't ever run it on this machine but it is Ubuntu server 12.04 like all ...
3
votes
2answers
1k views

Trying to install a package but apt-get tries to remove all packets on the computer

I'm trying to install ssh-import-id for openssh-server but I got this... It totally blew my mind. I really need some help here! Thanks a lot in advance! -S $ sudo apt-get install ssh-import-id ...
2
votes
3answers
940 views

How can I get the latest VLC if its not available from the VLC download page and its PPA [duplicate]

The latest vlc(2.1) had just been released - jeej - but, the vlc-ppa doesn't contain packages for 13.04 only 13.10. The vlc download page just says to sudo apt-get install vlc. 2.1.0 Highlights ...
2
votes
3answers
7k views

I am not able to install easy_install in my ubuntu

i have to install Review board in ubuntu, i tried following commands but i am getting error sudo apt-get install python-setuptools. Reading package lists... Done Building dependency tree ...
1
vote
1answer
945 views

Can not install wine using terminal [duplicate]

I've tried to install wine in ubuntu 12.10 through terminal. I write this script to install wine: sudo apt-get install wine but its is showing this error: The following packages have unmet ...
0
votes
2answers
806 views

Error : Cannot Access ppa while installing openstack swift

I was trying to install openstack swift all in one. Getting the error as follows: root@openstack-VirtualBox:/home/openstack# apt-add-repository ppa:swift-core/ppa Cannot access PPA ...
0
votes
2answers
291 views

I am trying to remove OpenOffice to go back to LibreOffice, but I keep getting an error message

I am trying to remove OpenOffice and go back to LibreOffice but I keep getting this error message: The following packages have unmet dependencies: libreoffice-core : Depends: libreoffice-common ...
1
vote
1answer
2k views

Can't connect to some (not all) repository servers

I have some head crunch issues with updating my Ubuntu 12.04 server system. When I issue the following command (as root): apt-get update ...nothing happens and after a while apt-get gives up with ...
1
vote
2answers
131 views

I am not able to install eclipse after uninstalling it

To remove Eclipse I used: sudo apt-get autoremove eclipse rm -r ~/.eclipse/ Now when installing i get this: anjali@anjali-ThinkPad-Edge-E430:~$ sudo apt-get install eclipse [sudo] password for ...
0
votes
0answers
117 views

Is it possible to instal build-essential pack offline [duplicate]

I have an old laptop with the Pentium-M running the Unbuntu 11.10. The problem is that the laptop cannot be connected to the internet to execute the: sudo apt-get install build-essential Is ...
2
votes
1answer
284 views

apt-get autoremove doesn't work the way it's advertised

I wanna ask about the abnormal behaviour of the autoremove function in apt-get, which "should" remove the remaining automatically installed packages, that came as a dependency of the actually ...
0
votes
2answers
136 views

Pidgin is getting hanged

Yesterday, when I was trying answer a question on tor I installed it on my machine and at that point, it displayed a message saying a pidgin-XXX is not needed any more and hence run sudo apt-get ...
2
votes
1answer
794 views

apt-get update error failed to fetch [duplicate]

I have a problem with apt-get update. When I try to use it, I have "failed to fetch" problem. W: Failed to fetch http://archive.canonical.com/ubuntu/dists/precise/partner/i18n/Translation-en Cannot ...
1
vote
2answers
25k views

apt.conf “Acquire::http:Proxy ”proxyserver:port" seems not to be used (Ubuntu 13.04 under Virtual Box on Win7)

This is for an installation of Ubuntu 13.04 Desktop in a VirtualBox VM. I'm on a corprate network with an HTTP proxy at x.y.z.251:9090. I've configured the guest OS with the autoconfiguration script, ...
2
votes
1answer
643 views

remove 8.04 repositories in 12.04?

after using ubuntu for about a year, it's time to pose my first question. I am running ubuntu 12.04.3 and recently I've had some issues with resynchronizing the package index files. sudo apt-get ...
0
votes
1answer
702 views

Can not install ia32-libs in Ubuntu 12.04 64bit

when I try to install ia32-libs I got this error: asdfg@notebook:~$ sudo apt-get install ia32-libs Reading package lists... Done Building dependency tree Reading state information... Done Some ...
0
votes
1answer
166 views

LibreOffice Base and unmet dependencies

My database in LibreOffice Base is all of a sudden locked for editing. Moreover, LibreOffice Base exits whenever I try to insert a photo into a database post. I have worked in my relational database ...
1
vote
0answers
412 views

Can`t update Ubuntu 12.04LTS headless server via terminal

I previously tried to update to 3.2.0.36-linux-generic but this was broken for some reason so every time I restart my server I have to boot 3.2.0.35-linux-generic. When I try sudo apt-get upgrade I ...
1
vote
2answers
248 views

Where does the software-center store its history?

The Ubuntu software center is able to display a detailed history of packages installed /updated/removed according to date. Where does it get this info from? (/var/log/dpkg.log is maintained only ...
1
vote
2answers
76 views

Will I have to reinstall applications if I reinstall Ubuntu?

I am new to LINUX I have a quick question... I currently have three partitions: / swap /home I have a few related questions: Which partition does apt-get install applications to? (Windows ...
-1
votes
1answer
495 views

Ubuntu 13.04 apt-get and software center crashes

So, for some reasons, the installation of google talk failed and now I cannot install anything. First after I tried apt-get, ubuntu asked me to manually run this command, sudo dpkg --configure -a ...
1
vote
2answers
718 views

Broken packages and can't run -f install

After I installed codeblocks it started giving me error I'm getting loads of errors. I'm new to Ubuntu( from windows) sudo dpkg --configure -a dpkg: dependency problems prevent configuration of ...
0
votes
0answers
103 views

Kubuntu 12.04 LTS DVD: apt-get not finding the DVD after initial installation, cant install packages

I'm trying to install using the Kubuntu 12.04 LTS DVD. After installation, and without touching anything in /etc/apt/. My system is disconnected from the Internet, so the DVD is my only source for ...
0
votes
1answer
784 views

How to configure apt to access a deb repository over ssh?

I have a deb repository accessible with ssh (following instructions from this site). I use the ssh-public-key-based authentication to access the repository server. How I can configure apt-get on ...
0
votes
2answers
9k views

Ubuntu touch apt-get install (openssh-server) error

Whenever I try to run apt-get install openssh-server I get the following errors: root@ubuntu-phablet:/home/hablet# apt-get install openssh-server W: Not using locking for read only lock file ...
0
votes
1answer
45 views

Help me I cant do updates with these two errors :( [duplicate]

These are the two errors: http://ppa.launchpad.net/upubuntu-com/office/ubuntu/dists/raring/main/binary-amd64/Packages ...
0
votes
2answers
1k views

What Package is '/usr/sbin/apache2' part of?

After I installed Apache trough the command sequence you can find below, it gave me an error: /usr/sbin/apache2ctl: 171: /usr/sbin/apache2ctl: /usr/sbin/apache2: not found. After some Googling I found ...
0
votes
2answers
4k views

E: The method driver /usr/lib/apt/methods/https could not be found

I tried using sudo apt-get install apt-transport-https but it doesn't work for me. sudo apt-get update E: The method driver /usr/lib/apt/methods/https could not be found. sudo apt-get install ...
1
vote
1answer
139 views

Installation failures

I used a pre-written shell script to install steam and it supplied me with libc-ubuntu.deb file. When I dpkg the deb file it says this: sudo dpkg -i libc6_2.15-0ubuntu10.2_i386.deb (Reading database ...
0
votes
0answers
14 views

imposible actualizar [duplicate]

'E:Vaya, excedió el número de descripciones que este APT es capaz de manejar., E:Problem with MergeList ...
0
votes
2answers
695 views

Failed to fetch cdrom:* warnings in apt, how to fix them?

I’m a newbie with this Ubuntu system, I often use windows.. anyway my uncle gave me a laptop which uses Ubuntu 10 or something and I updated it to 12.04. the system popped out this Ubuntu one and I ...
0
votes
1answer
658 views

Errors when running apt-get update [duplicate]

So I'm running the following command: $ sudo apt-get update When I do, I get the following errors: Err http://ppa.launchpad.net precise/main Sources 404 Not Found Err http://ppa.launchpad.net ...
0
votes
1answer
41 views

UpdateManager Error [duplicate]

I have this icon in my desktop (Sorry, I am not allowed to post images) And here I transcribe the information about the error in update Manager. E: Encountered a package with no header E:Problem ...
0
votes
0answers
244 views

I can't use apt-get -f install [duplicate]

I am using Ubuntu 12.04 and I need to install some tools(I am root). When using apt-get...etc. I kept getting the advice from Ubuntu to first to apt-get install. Wich didn't work, and led me to trying ...
0
votes
0answers
35 views

Why apt-get doesn't download from local repository? [duplicate]

I have created a local repository using following command and places in /usr/local/myrepository: dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz Packages.gz was successfully created. Then ...
4
votes
2answers
7k views

What's difference of apt-get and aptitude? [duplicate]

What is difference of apt-get and aptitude? Does both of them use same repositories? Which one is better?
0
votes
2answers
846 views

Ubuntu - apt-get not working behind restricted internet access

I have Ubuntu 12.04 64-bit boxes running in a company but they have internet browsing and firewalls for security. When I do apt-get update or install it fails. But I have a remote server which ip is ...
0
votes
2answers
826 views

How do I resolve unmet dependencies related to Mesa/Wayland?

On my Ubuntu 13.04 machine, I used to have the Updated and Optimized Open Graphics Drivers PPA enabled and with a recent update it required Wayland as a dependency. This seems to have broken my ...
-1
votes
1answer
889 views

Adding an apt repository when using a web proxy

I have been trying to install Wine on Ubuntu 12.04 and I don't seem to be winning. I keep getting this error: File "/usr/bin/add-apt-repository", line 125, in <module> ppa_info = ...
4
votes
2answers
2k views

How can I get a 'verbose' apt-get exit code?

How can I get a 'verbose' exit code for apt-get so that errors like this Package google-chrome is a virtual package provided by: google-chrome-stable 29.0.1547.76-r223446 google-chrome-beta ...
2
votes
3answers
17k views

How can I install libpcap on Ubuntu 12.04?

How can I install libpcap on Ubuntu 12.04? When I use apt-get install libpcap I receive following message: Reading package lists... Done Building dependency tree Reading state information... Done ...
-1
votes
1answer
41 views

Issue running Update on Server 13.04

I'm running into an issue when trying a apt-get update && apt-get upgrade It fails with the following error: dpkg: error processing systemd-services (--configure): Package is in a very bad ...
3
votes
1answer
178 views

linux-firmware package continuously downloads during upgrade

I have some quiet time so I'm finally trying to upgrade my Ubuntu 11.10 installation to something newer (something that's not out of support, even). I'm trying to upgrade to 12.04. When using the ...
0
votes
1answer
5k views

How do I fix broken packages? [duplicate]

I have a problem with apt. When I try to update or upgrade Ubuntu, I receive an error telling me that I have dependency problems, and I can't go on. I've tried to solve the problem with apt-get ...
1
vote
0answers
3k views

How to fix 'The package lists or status file could not be parsed or opened'? [duplicate]

I was receiving an error earlier from a fresh install of the Ubuntu server. Normally I grab either ubuntu server or the mini install and go from there myself. This time when I started trying to use ...
3
votes
2answers
101 views

How to mantain an ubuntu server without the “-updates” release

In short: Does any one out there, running ubuntu servers, tries to do it with the "-updates" release (like precise-updates) disabled? If so, how do you deal with ubuntu point releases (that include ...