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
932 views

Cannot install Firefox in Semplice Linux

I am using Semplice Linux in VMware on Windows 7. It works fine but I cannot install Firefox. Semplice Linux is based on Debian Sid (unstable branch) with an Openbox desktop. This is what I get ...
1
vote
2answers
3k views

“except (IOError, OSError), e: SyntaxError: invalid syntax” when configuring python-lockfile

I am having trouble installing any new packages in Ubuntu because of python. I tried sudo apt-get install python3 python3-dev but I am getting the following output :: dpkg: error processing python-...
1
vote
1answer
2k views

shellshock solution for nexenta/solaris

I'm trying to solve the shellshock issue on my system: SunOS localhost 5.11 NexentaOS_134f i86pc i386 i86pc Solaris # bash --version GNU bash, version 3.2.48(1)-release (i386-pc-solaris2.11) ...
1
vote
1answer
293 views

Install zip on SteamOS

How can I install zip on Steam OS (a Debian Wheezy derivative) if my apt sources do not have it? # apt-get install zip Reading package lists... Done Building dependency tree Reading state ...
1
vote
1answer
614 views

Why is apt-get trying to remove certain packages when I install wine?

I'm trying to install wine, which is software for running Windows applications. When I do sudo apt-get install wine, apt-get warns me that some packages are being removed. Why would apt-get remove ...
1
vote
2answers
1k views

Fix dependencies without updating package?

I updated my Debian installation at home and it updated chromium to the (IMO) awfull 35.0 version. I removed it by using apt-get remove chromium and apt-get autoremove. I went here and grabbed the ....
1
vote
1answer
58 views

APT pinning or faking the version number of my own package?

I'd like to create my own repository for personal use across a number of machines. Packages will be signed as usual and some of the packaged software will be the same as provided by the official ...
1
vote
1answer
166 views

How do I make apt pick a certain package from a specific source?

I tried pinning the debian_testing source, but it's not really working (I want to pick version 0.10.29): Package: nodejs Pin: release a=debian_testing Pin-Priority: 1000 Here's the apt-cache policy:...
1
vote
1answer
84 views

After apt-get update and upgrade, do I need to recompile and re-install software that I did not install via apt-get install?

In particular, I noticed that my OpenSSL has been upgraded after a system update via sudo apt-get update and sudo apt-get upgrade. As I installed my Squid server by manually compiling, configuring ...
1
vote
1answer
485 views

How to get “apt-get -y upgrade” within a PHP script to function as expected?

Yes, I'm aware of unattended-upgrade, but I don't like that package's limitations. I've got a PHP script that makes the following calls: ... system("/usr/bin/apt-get update"); system("/usr/bin/apt-...
1
vote
1answer
120 views

apt and aptitude died after dist-upgrade

I followed the Debian Instructions for upgrading from Squeeze to Wheezy in Debian. I audited my packages, updated my /etc/apt/sources.list file to get Wheezy sources, I ran apt-get update and apt-get ...
1
vote
1answer
3k views

E: Unable to locate package tlp

I an trying to install tlp as explained in the website by addin ppa as follows in Linux Mint 15 sudo add-apt-repository ppa:linrunner/tlp sudo apt-get update and then sudo apt-get update ...
1
vote
2answers
233 views

What is the equivalent to yum-versionlock for ubuntu?

I need to install r-base 3.0.2 because a needed library isn't compatible with 3.0.3 yet (the latest). I can install the older version of R like so: sudo apt-get install r-base=3.0.2-1precise0 ...
1
vote
1answer
50 views

Reinstall software without re-downloading from software center?

Forgive me if this is an extremely noob question, I am new to Linux. I have installed FlightGear, a flight simulator. Some of the game's main files have been tampered with by a third-party app and ...
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
104 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
133 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
670 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
330 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
338 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
110 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
616 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
227 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
520 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
828 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
981 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
57 views

E: Package '<any package>' has no installation candidate

I am unable to apt-get install any packages because E: Package '<package name>' has no installation candidate. Unlike the other similarly named questions, I am using debian and I have not been ...
1
vote
1answer
53 views

Error: Wrong architecture 'amd64' & Unable to locate package libc6-dev-i386 [Install libc6-dev-i386]

I'm trying to install the Redox-OS files via curl -sf https://raw.githubusercontent.com/redox-os/redox/master/bootstrap.sh -o bootstrap.sh && bash -e bootstrap.sh (as referenced in the Book) ...
1
vote
1answer
26 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
28 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
1answer
87 views

Set apt-get options to tolerate harmless 'dpkg --force-conflicts' kludge?

A trivially conflicting package foo can be made to work with bar, by running dpkg --force-conflicts -i foo. But eventually it's time to upgrade, and 'apt-get' objects: % apt-get upgrade Reading ...
1
vote
2answers
401 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
38 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
684 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
42 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
2answers
39 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
38 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
167 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
30 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
698 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
96 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
110 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-...