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
0answers
18 views

Problems installing packages from one system to another via scripts

System -> Ubuntu 14.04 System in VM -> Ubuntu DEV 14.04 I'm using the following scripts : Back up packages #!/bin/bash dir=source_files # if directory doesn't exist then make it if [ ! -d ...
0
votes
1answer
10 views

How update pygobject without breaking any dependency?

I want update the Pygobject of my system from the official repository. The last version on official repository is 3.16.1, but in the official package for Ubuntu is 3.12.0. I tried uninstall this ...
0
votes
0answers
23 views

apt-get update issue

When I am trying to update using apt-get it is showing following error at the end: Fetched 3,634 kB in 3min 39s (16.6 kB/s) W: Failed to fetch ...
0
votes
1answer
14 views

ubuntu hanging at unpacking linux header 3.13.0-49

My Acer desktop with Ubuntu 14.04 was hanging after sudo apt-get update; sudo apt-get upgrade at the unpacking of linux header 3.13.0-49. The mouse and screen seemed frozen.
0
votes
1answer
38 views

Links and installation of codelite dependencies

I know you might want to mark this as an "duplicate" but it's not. All the answers on similar questions are either outdated or don't really include dependencies installation. dist-upgrade didn't help ...
2
votes
1answer
28 views

GPG error : http://repos.rcn-ee.net

when I update using apt-get update on Beaglebone black, I got the following error, W: GPG error: http://repos.rcn-ee.net trusty InRelease: The following signatures couldn't be verified because the ...
-2
votes
1answer
23 views

GPG error: http://packages.osrfoundation.org

when I update using 'apt-get update' on ubuntu-14.04, I got the following error, W: GPG error: http://packages.osrfoundation.org trusty InRelease: The following signatures couldn't be verified ...
1
vote
1answer
24 views

`dnscrypt-proxy' package freeze at update, remove or reinstall

I'm trying to upgrade packages, every time I ran sudo apt-get upgrade process freezes at setting up dnscrypt-proxy: Processing triggers for desktop-file-utils (0.22-1ubuntu1) ... Processing triggers ...
1
vote
1answer
33 views

I'm trying to install programs/apt upgrade and this group of libs aren't allowing me to do so

I can't apt-get upgrade, I also tried installing software with the software center but no luck since those libs need dependencies. I tried removing them but that didn't work and I also tried various ...
0
votes
1answer
224 views

Serious dpkg problems

'E: Sub-process /usr/bin/dpkg returned an error code (1)' From this post http://ubuntuforums.org/showthread.php?t=1642173 dpkg: error processing package unity (--configure): dependency problems - ...
2
votes
1answer
26 views

Update Manger offline error

I'm running Ubuntu 14.04, using the i3 window manager. I'm having troubles with the Software and Updates for my system. When I start the update-manager I get this screen : The internet is working ...
-1
votes
0answers
18 views

i get this error when i type sudo apt get update [duplicate]

W: Duplicate sources.list entry <http://us.archive.ubuntu.com/ubuntu/ precise-security/main> amd64 Packages ...
0
votes
1answer
24 views

Broken link for kernel (nonexistent future version)

My version (from lsb_release -a): No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.10 Release: 14.10 Codename: utopic I want to make some room ...
0
votes
1answer
31 views

Dpkg env variable DPKG_HOOK_ACTION is not set in hook script

According to man dpkg I can use DPKG_HOOK_ACTION to get the current dpkg action being run in my dpkg hook script --pre-invoke=command --post-invoke=command Set an invoke hook command to be run ...
1
vote
1answer
19 views

Finding how many times a given package has been installed

Is there any way to see how many times a package in the repos (say, firefox) has been installed?
0
votes
1answer
18 views

Can i remove a package from apt without uninstall

is it posible to remove a package from apt without uninstall it from disc? I have a broken owncloud package. I was able to repare the installation manually but now i always get an update error ...
0
votes
1answer
28 views

What packages are installed by `sudo apt-get install r-base`?

I have add the following link to my repository list deb http://stat.ethz.ch/CRAN/bin/linux/ubuntu trusty/ When running sudo apt-get install r-base, what packages in ...
0
votes
0answers
14 views

Trusty on SD card under Crouton - corrupted disk?

This question relates to Crouton only in that Ubuntu is running under it on my Chromebook. I've installed 14.04 with xfce on an ext4-formatted SD card. I seem to be having all kinds of problems, and ...
0
votes
1answer
13 views

Unable to run apt-get with proxy even after setting the environment variables

I was trying to configure proxy in my lubuntu 14.04. Since I wanted to use the username and password for my proxy authentication, I opted ntlm and installed it. Now I can use my proxy link as ...
29
votes
8answers
40k views

How do I remove a malformed line from my sources.list?

I have unistalled and reinstalled the Ubuntu Software Center as per info I found in a similar thread and I got the same response about line 91 or something like that. I just tried to upload a screen ...
0
votes
1answer
31 views

sudo apt-get update Not Working | Malformed Line [duplicate]

I was attempting to Install Skype on my system. As some of you already know, Skype is only available for 32-bit Linux systems. So I was following a tutorial online when I attempted to install 32-bit ...
1
vote
1answer
13 views

Broken libgcrypt11 dependency

I've run a casual apt-get update && apt-get upgrade command. The process completed (with an error): You might want to run 'apt-get -f install' to correct these. The following packages have ...
0
votes
0answers
6 views

Quick Webhost Script for LAMP - How do I import localhost for www.example.com?

I have the following script written: sudo apt-get update sudo apt-get install apache2 sudo apt-get install apache2 apache2-utils sudo service apache2 restart sudo apt-get install mysql-server ...
0
votes
1answer
14 views

please help installing missing pkgs [on hold]

I tried to install exploration software for multirobot but i got many errors regarding dependency problems i tried several times to install them but I couldnot could anyone help me please thanks ...
6
votes
1answer
67 views

How can I stop apt-get from asking about using minor amounts of additional disk space that will be used?

I know that I can use parameters (with aliases or apt.conf I can even make it permanent) to skip this steep. But I still want to be warned about major amounts of used disk space, what seems to be ...
2
votes
2answers
55 views

Can someone provide a real, correct and genuine sources.list for Ubuntu 15.04? [duplicate]

I have been using Ubuntu for a while now and I have been having all problems that I needed not to post a thread for to get answers, until I recently upgraded to Ubuntu Vivid. Ubuntu is great but each ...
4
votes
2answers
214 views

What is the correct way to create your own packages for local installation?

I am running an Ubuntu 12.04 LTS server. I currently have an issue where one of my used packages has an annoying bug. Instead of removing it and just building it from source, I want to integrate it ...
10
votes
2answers
755 views

What does this 'apt-get remove' instruction do?

What does the following code do? I found it on internet so I copied it and pasted it into terminal but when I installed a new kernel it only detects the old one. sudo apt-get remove --purge $(dpkg ...
2
votes
3answers
52 views

Error adding a repository to /etc/apt/sources.list

On ubuntu 14.04, I followed http://mirror.its.dal.ca/cran/bin/linux/ubuntu/README which says Installation and compilation of R or some of its packages may require Ubuntu packages from the "backports" ...
0
votes
2answers
22 views

unable to install OpenJDK Java 6 runtime

Please mind im fairly new to linux so please try to keep the technobabble to a minimum. So in the ubuntu software centre i tried to install the java 6 runtime and it gave me this error message The ...
8
votes
1answer
2k views

apt-get stuck at 0 [Connecting to us.archive.ubuntu.com]

When I do upgrade it gets stuck here: user@plato:~# sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done ...
1
vote
1answer
20 views

W: GPG error: The following signatures couldn't be verified because the public key is not available [duplicate]

On my Ubuntu 14.04, I followed http://mirror.its.dal.ca/cran/bin/linux/ubuntu/README to add the following to /etc/apt/sources.list deb http://stat.ethz.ch/CRAN/bin/linux/ubuntu trusty/ When I run ...
2
votes
4answers
59 views

How do I access files installed with sudo apt-get

I just installed Ubuntu a few days ago and I am trying to download and use VIM. So I went to terminal and ran sudo apt-get install vim, and everything went fine with running the command, the only ...
1
vote
2answers
88 views
+50

ubuntu machine had postgresql folder blown away manually - can't install or remove any packages

i have a machine where a user deleted their postgresql folder from the command line in an attempt to uninstall postgres. now when we try to install any other packages - even unrelated ones - we keep ...
0
votes
1answer
73 views

apt-get segmentation fault (segfault at libapt-pkg)

Since this morning, I couldn't run apt-get and having no idea why. This is what I did so far: # apt-get update (updating list) Fetched 2.797 kB in 7s (363 kB/s) Segmentation faults... 33% # ...
1
vote
4answers
36 views

Unmet dependencies unable to fix

I'm running ubuntu 14.04. I cannot use software center to install anything, even a local deb package so I have to rely on Terminal. Recently I was trying to install mysql-server which generated error ...
1
vote
1answer
28 views

sudo add-apt-repository throws an exception

I'm running ubuntu 14.10 on VMware player at my office. Whenever I try to add a repository, I get this exception. root@ubuntu:~# sudo add-apt-repository ppa:rvm/smplayer Traceback (most recent call ...
2
votes
1answer
3k views

error in installation of gcc on ubuntu Ubuntu 12.04

I want to install gcc on a ubuntu machine but got the following errors: t@lab45:~# apt-get install build-essential Reading package lists... Done Building dependency tree Reading state ...
0
votes
1answer
18 views

unable to intall r-base on ubuntu 14.04 LTS

while installing a newer latest version of r by removing the previous version of r(3.0.2) I got the following problem. anupam :~$ sudo apt-get install r-base Reading package lists... Done Building ...
3
votes
2answers
4k views

Automating apt-get install with --assume-yes

I am trying to write a bash script to install a list of software. I am using --assume-yes to get pass the prompts This following line somehow doesn't work sudo apt-get install ...
0
votes
1answer
37 views

How to re-install libgcc1:i386 which breaks libgcc1?

So, I went and did something very stupid. I have ubuntu-toolchain-r repository added to repositories which has up to some time ago provided libgcc1:i386 among other things. For a some time now the ...
1
vote
1answer
3k views

Installing matplotlib on Ubuntu 14.04 after installing Python 3 with pyenv

I am using Ubuntu 14.04 with Python 2.7.6. I have installed matplotlib for Python 2. Now, I just installed Python 3.4.2 using pyenv install 3.4.2. I then ran pip install matplotlib to install ...
1
vote
1answer
54 views

Why no TCP_HITS using squid-deb-proxy

I've followed all the advice here and the server log file updates when I do an update on another computer on the network. However, I never see any TCP_HITs. I even grepped for them. This is some of ...
0
votes
0answers
13 views

Error: no “edit” mailcap rules found for type “application/octet-stream”

I was recently trying to make an edit that I found Here that would pretty much allow me to install from the Terminal without being harassed with writing my very long and difficult password each time. ...
-1
votes
1answer
12 views

Unable to install tor, access to directories denied [duplicate]

E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied) E: Unable to lock directory /var/lib/apt/lists/ E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission ...
27
votes
6answers
108k views

Permanently removing apache2

It seems a simple apt-get remove apache2 does not completely remove apache2 as I can still see it on one of the processes when running top. How does one remove apache2 completely on his ubuntu server? ...
1
vote
2answers
19 views

I've signed a deb package multiple times, now how can I remove a signature?

How can I remove signatures from a deb package signed with a gpg key by dpkg-sig? I have a particular apt repository that I've set up, which through research and testing led me to manually sign my ...
2
votes
2answers
1k views

How do I disable update-apt-xapi

Every day, at a random time, my ancient laptop becomes unusable. Something decides to consume the entire 1GiB of RAM plus several hundred MiBs of swap, and thrash my hard drive. It brings the computer ...
1
vote
5answers
14k views

How can I access my Ubuntu phone over ssh?

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
0answers
24 views

Apt-Get missing keys and won't let me add new ones [duplicate]

APT gives me this when I run sudo apt-get update: W: GPG error: http://repository.spotify.com stable InRelease: The following signatures couldn't be verified because the public key is not ...