APT (Advanced Packaging Tool) is the standard software package management system for Debian and its derivatives.

learn more… | top users | synonyms (1)

1
vote
2answers
6k views

MongoDB install errors / E: Sub-process /usr/bin/dpkg returned an error code (1)

I'm trying to install things in Linux (Crunchbang Linux - a derivation of Debian), and I'm getting errors which point towards mongodb-20gen. When I try to remove it using :- cometbill@Linuxn00b:~$ ...
1
vote
1answer
103 views

Setting up a repository server

Is it possible to set up a server to mirror a distro's repository, but only download/store requested upgrades or new packages rather than download them all? So all computers on the LAN can connect to ...
1
vote
1answer
131 views

How can I build fdupes from source on Ubuntu?

I would like to make a few changes to the fdupes code. I know I can grab the source code from the website - but is there a better way on Ubuntu / Debian? After getting the source this way where is ...
1
vote
1answer
662 views

apt-get dist-upgrade wants to remove too much packages

I'm upgrading from Mint 13 to Mint 15 using apt-get dist-upgrade. It want to remove 277 packages, which I find quite a lot. Among those packages are acroread, xmlcopyeditor, wine1.4, skype and others. ...
1
vote
1answer
328 views

apt-proxy replacement/alternative on Debian

I missed that apt-proxy is not available anymore. What are my alternatives? Google didn't give me anything useful expect years old stuff.
1
vote
1answer
332 views

Uninstall MySQL server without removing or breaking any client functionality

I have an Ubuntu webserver which once used a local database, but we migrated it and now the database is stored remotely on a separate server accessed from many different places. The webserver runs ...
1
vote
1answer
2k views

Apt-get, no sudoers file

I am trying to install a module using apt-get. For that I do the following: sudo apt-get install But I get the following error: sudo: can't stat /etc/sudoers: No such file or directory sudo: no ...
1
vote
2answers
109 views

How to stop apt from uninstalling the packages while updating

I using apt in terminal to install an update. When i used apt-get -f install it showed 0 upgraded, 7 newly installed, 428 to remove and 3 not upgraded. 4 not fully installed or removed. Need to get ...
1
vote
1answer
91 views

Understanding aptitude's behavior on a machine with multiple archives enabled

I'm having to deal with a Debian server, which initially was Squeeze, I believe, but where administrator enabled several distributions: deb http://mirror.yandex.ru/debian/ stable main contrib non-...
1
vote
1answer
610 views

Which parameters were used by apt-get to install init scripts for a package?

After removing the init script for hdparm with # update-rc.d hdparm remove, the wish is to re-install/fix/repair the hdparm init script. In other words to undo the update-rc.d removal. Calling # ...
1
vote
1answer
4k views

How to install a Debian package from internet?

I am trying to install Debian kernel sources using the following commands - sudo apt-get install linux-headers-$(uname -r) It prompts me to insert the Debian disk to continue the installation. ...
1
vote
1answer
226 views

How to purge package in debian without affecting other packages?

I had mysql-server-5.1 installed, then upgraded to mysql-server-5.5 and now upgraded to percona server (package percona-server-server-5.5). So now I have 2 mysql-server packages removed, but not ...
1
vote
1answer
510 views

Setting up a minimal apt-get environment

I would like to set up a minimal environment with apt-get then selectively install packages one at a time. My understanding is that this is basically what the Debian installer does. Is this ...
1
vote
2answers
823 views

problems installing lcov on Debian 6

I have been stuck for a few hours trying to install lcov on a debian 6 box. Any help would be greatly appreciated! What I have tried the following in the command line: root@damrod-ci:/etc/munin/...
1
vote
2answers
4k views

How to uninstall java on Linux Mint 12

Today, I downloaded the latest java jre which is a .bin file By mistake, I installed it on my desktop by running ./jre. I want to remove this installation, move the .bin file to somewhere else and ...
1
vote
1answer
112 views

Removing generic kernel updates from aptitude post custom kernel install

I've updated my Mint 12 system to be running a kernel built from Linus' git repo. Now, whenever I run apt-get upgrade, I see that linux*-generic are still on the update list (they're being "kept back",...
1
vote
2answers
4k views

“invoke-rc.d: initscript cups, action ”start“ failed.” while configure cups

When I run apt-get -f install, I get the following abnormal output: Setting up cups (1.5.0-8) ... start: Job failed to start invoke-rc.d: initscript cups, action "start" failed. dpkg: error ...
1
vote
3answers
976 views

Unmet dependencies [closed]

I am trying to compile vim and install with "--enable-pythoninterp" flag, which needs the python-dev package. INFO I obtained the vim source from ftp://ftp.vim.org/pub/vim/unix/vim-7.3.tar.bz2 Vim7.3 ...
1
vote
1answer
22 views

Force dpkg repair

I did a terrible mistake and deleted two folders from the /usr/lib directory on my Debian. I deleted python2.7/ and pkgconfig/ Things I've tried to fix it without success: sudo dpkg -i python2* -> "...
1
vote
1answer
23 views

apt is trying to remove linux-image-3.8.11

I am running a Crouton on my chromebook. Every time I try to install a package, apt tries to remove linux-image-3.8.11. It initially tried to install it while installing a package, (the installer said ...
1
vote
2answers
286 views

libnss3 Update Downgrading Problem

I have downgraded libnss3 on my Ubuntu so I can install Upwork software. I have installed this software successfully. But after this downgrade, I am unable to install any other software on my system. ...
1
vote
1answer
34 views

CRON problem - an apt-get dist-upgrade job

This question is related to Debian 8.4. I applied the same updating mechanism to several desktop stations and one unused server. This problem appeared on the server but I suspect it will happen on ...
1
vote
4answers
654 views

Apt Unmet dependecies: libefl-bin

I am encountering an error when I run apt-get upgrade. It appears I have a package installed that has unmet dependencies. uname -a output: Linux kbu 3.19.0-56-generic #62~14.04.1-Ubuntu SMP Fri Mar ...
1
vote
1answer
38 views

Difference between apt command and sudo apt command in Linux Mint terminal?

I am new to Linux and I was wondering what the difference was between the two because both of them seem to work when doing stuff. Command is a placeholder name for upgrade, update or install or ...
1
vote
1answer
21 views

Media change while installing apache2

I've got a fresh copy of Ubuntu Server 15.04 and installed it via "Easy Install" in VMWare WorkStation 12. After it installed,i've logged in to my account and tried to install apache2 with this ...
1
vote
1answer
153 views

How can I install pdfedit on Debian Jessie?

How can I install pdfedit on Debian Jessie? I have tried to install it with apt-get install but it seems it has not been updated for Jessie.
1
vote
2answers
38 views

Debian security updates [duplicate]

My wheezy server has apt sources set as below deb http://security.debian.org/ wheezy/updates main contrib non-free deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free Are all ...
1
vote
1answer
28 views

How to change Synaptic Package Manager download directory when when I select “download only”?

According to this question, I know that the .deb file located in /var/cache/apt/archives/. But how to change Synaptic download directory? So when we download a package, we can locate it somewhere we ...
1
vote
1answer
142 views

Linux yum Commands that are Equivalent to these Ubuntu apt-get Commands [closed]

I'm using an AWS EC2 instance and I'm trying to switch from an Ubuntu instance to a Linux (Amazon Linux AMI) instance and in doing so I need to figure out the equivalent apt-get to yum commands and ...
1
vote
1answer
2k views

Problem installing tor on Kali Linux

I'm trying to install tor on my Kali Linux 2016.1 (kali-rolling). When I type apt-get install tor in Terminal, this error appears: Reading package lists... Done Building dependency tree ...
1
vote
1answer
29 views

How to create remote repository, and update it via apt-get?

Maybe I'm not asking the proper question, but since it's something new to me here it goes: I have a remote repository with some files. Let's say, a folder in this address 89.xxx.xxx.xxx:9999/myData ...
1
vote
1answer
558 views

mysql-server-5.5 unmet dependencies each time running apt-get

Each time I run "sudo apt-get install package-name", the following error happened, even if I tried to install other packages other than mysql ones: You might want to run 'apt-get -f install' to ...
1
vote
1answer
83 views

How is the “apt” command different from “apt-get” and “aptitude”?

I just found out that there is a third command for installing packages available on my Debian GNU/linux distribution. I found that I can install packages by simply entering: apt install sl ...
1
vote
1answer
99 views

Why does Linux (Mint 17.2,Ubuntu 14.04 based. KDE) automatically remove certain packages while installing others?

For example Atom text editor. When I run: sudo apt-get install imagemagick # http://www.imagemagick.org/script/index.php gives: you might want to run 'apt-get -f install' to correct these: The ...
1
vote
1answer
21 views

Logging into my desktop from SSH says I have no updates, but I do

When I SSH into my Ubuntu Desktop, I get some output saying: 0 packages can be updated. 0 updates are security updates. However, running sudo apt-get upgrade tells me that a package (numix-icon-...
1
vote
2answers
557 views

The following packages have unmet dependencies

Every time I try to use apt-get install or remove or purge on my Debian, I have this error pop up: The following packages have unmet dependencies: libimage-magick-q16-perl : Depends: libmagickcore-6....
1
vote
1answer
90 views

Better logging than /var/log/dpkg.log of package-management?

Has there been some better logging tools than /var/log/dpkg.log as /var/log/dpkg.log seems to have just installations and upgrades but nothing about removals . Also it seems a bit chaotic, does ...
1
vote
2answers
579 views

403 Forbidden Error when trying to connect to ubuntu repositories

Im running Ubuntu 14.04 and havent run sudo apt-get update for many months. When I try to update local /etc/apt/sources.list apt-get can connect to many repos no problem, but many (maybe 15% of total)...
1
vote
1answer
67 views

Can a Debian package's Priority field be used for selection for install?

In a Debian package's control file, there is a Priority field which can be set to one of: required important standard optional extra APT pinning can be used to specify priorities for packages from ...
1
vote
1answer
602 views

cannot install libreoffice on debian sid

Using Debian sid. I cannot install libreoffice as I get this error: Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the ...
1
vote
1answer
45 views

State of ucblogo package in debian / raspbian

My son and I are playing around with LOGO programming on a Raspberry Pi (in Raspbian). We ran into a problem with the current package (v 5.5) not properly interpreting arrow key input: http://...
1
vote
1answer
68 views

Bash script only runs in debug mode [closed]

I have the following bash script: #!/bin/bash -e SUDO=sudo $SUDO apt-get -y update || true $SUDO apt-get -y install lxc bridge-utils || true # remove the default bridge, if it exists DEFAUT_BRIDGE=...
1
vote
1answer
138 views

unstable apt-pinning set to -1 on stable Debian

This is how my /etc/apt/sources.list looks like on Debian 8.1: #### stable ######### deb http://httpredir.debian.org/debian stable main contrib non-free deb-src http://httpredir.debian.org/debian ...
1
vote
2answers
1k views

fglrx on Debian stretch

How do I install the fglrx driver on Debian stretch? The package tracker states that there is no package available right now, so I added Sid, pinned on 100. When I try to install fglrx-driver now, ...
1
vote
1answer
178 views

Linux Mint Rebecca - Packages 404 Not Found

Whenever I do sudo apt-get update I get the following error W: Failed to fetch http://repo.mongodb.org/apt/ubuntu/dists/rebecca/mongodb-org/3.0/multiverse/binary-amd64/Packages 404 Not ...
1
vote
2answers
952 views

Depends: libqtgui4 (>= 4.6.2) but it is not installed

I want to install the Wing IDE for python. When I executed it, dpkg showed me some qt packages that were not installed. I installed a few of them via Synaptic Package Manager, but the rest cannot be ...
1
vote
1answer
214 views

Upgraded to test branch by mistake in debian… how can I go back to stable?

I wanted to upgrade my GLIBC to a newer version on my remote server (to which I only have SSH access), so I added the test branch of Debian to my apt sources. I followed this by the mistake of ...
1
vote
1answer
202 views

Debian dpkg error > libxrender1

apt-get update && apt-get upgrade You might want to run 'apt-get -f install' to correct these. The following packages have unmet dependencies: libxrender1 : Breaks: libxrender1:i386 (!= 1:0....
1
vote
1answer
20 views

Recreation of apt based source download

Source for a apt package can be obtained with the command: apt-get source foo This produces a directory with four entries in it: a directory of source and three files, foo*****.dsc, foo*****.tar.gz ...
1
vote
1answer
206 views

Problem with apt-get and locales (inappropriate # in .deb package name)

First of all, I'm running Raspbian, any extra needed info, I will post it here, just ask for it. EDIT: Output of locales -a: C C.UTF-8 en_GB.utf8 POSIX I configured en_GB.utf8, about the others, ...