APT (Advanced Packaging Tool) is the standard software package management system for Debian and its derivatives.
6
votes
2answers
110 views
Removed apt-get from Ubuntu
Well my fingers did manage to do sudo apt-get remove libstdc++6 and write, yes. That removed alot of system files. Is there any way to bring it up working again? I have connected to terminal, and wget ...
4
votes
2answers
1k views
How do I fix broken libxml2-dev dependency on Debian using apt?
When I run sudo apt-get upgrade on my Debian Squeeze install, I get the following error:
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
...
1
vote
2answers
286 views
Is there a way to make apt report which packages in a dist-upgrade will use additional disk space?
I recently decided it was time to do the ol' dist-upgrade.
Since I don't upgrade often, I got this message:
deus@machina:~/$ sudo apt-get dist-upgrade
Reading package lists... Done
Building ...
1
vote
2answers
402 views
uwsgi install in Debian 6 (Squeeze) wants to upgrade libc6 and initscripts
I'd like to install uwsgi on my Debian server. This package wants to upgrade some core packages:
libc6 from 2.11.3-3 (now, stable) -> 2.13-35
initscripts from 2.88dsf-13.1+squeeze1 (now, stable) -> ...
2
votes
3answers
327 views
Trouble migrating from Yum to apt-get
I recently migrated from using Fedora to Debian. And I'm having some issues with the package manager.
I used to be able to search for packages via yum using :
yum search ...
2
votes
2answers
145 views
How to select packages start with “mate-” but not end with “-dev”?
I want to install all MATE packages,
$ sudo apt-get install '^mate'
However, it selects too many packages, and some packages are conflicted with some installed ones.
Now, I want to exclude them. ...
5
votes
3answers
422 views
Managing unofficial repositories on a Debian system
A few years ago I added this repository to my sources.list:
http://www.deb-multimedia.org/
because it contained packages like acroread or flash player, which were either missing or out of date in ...
1
vote
0answers
181 views
Mono spits out too many errors after update, try to reinstall, more errors
I had errors with apt-get update && apt-get dist-upgrade, from mono mono, so I tried this instead:
sudo apt-get install --reinstall banshee banshee-extension-soundmenu ...
0
votes
3answers
834 views
Cannot install openssh-server
root@abacus-desktop:~# apt-get install openssh-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct ...
13
votes
2answers
469 views
Why do package names contain version numbers?
While working with Ubuntu and other Debian-based distros, I've noticed that packages in the software repos often contain the major version number.
For example,
Apache: apache2
Tomcat: tomcat7
PHP: ...
6
votes
1answer
100 views
How did this bogus entry sneak into my apt sources?
A while ago, I decided to try dropbox. Since I could apt-get it, I thought it was free software.
However, I quickly discovered that the apt-get command only downloaded a downloader for dropbox ...
2
votes
1answer
222 views
git tab-completion does not work on Debian Wheezy but works on Squeeze
My question is about git command tab-completion, i.e. when I type git stat
and hit Tab, it completes the command line to git status. (Where
applicable, this also works with remote names and branch ...
3
votes
1answer
177 views
How does apt-get deal with multiple sources?
Let's say Ubuntu's repositories features a package.
I install that package using apt-get.
I then add an additional source (with add-apt-repository) that lists either a newer or older version of the ...
4
votes
3answers
439 views
Reset dselect selection before package installation
I was looking through the list of packages with dselect, but pressed Return twice by mistake, thereby making it confirm and quit the [S]elect option.
When I go to the [I]nstall option, it's now ...
2
votes
3answers
108 views
Scan and get the packages installed on Ubuntu along with the version
Is there any Python code to get the list of packages installed on Ubuntu along with the version of the package? I have seen Python code at Generating list of manually installed packages and querying ...
4
votes
1answer
1k views
I cannot install new packages: “Could not get lock /var/lib/dpkg/lock”
I am new to Linux (installed Ubuntu for the first time yesterday), and have never dealt with any unix-based OS. I started using Linux for the sole purpose of collaborating code with my partners via ...
4
votes
1answer
792 views
Aptitude on Debian 6.0.4 “media change” to CD ROM
I've just installed Debian 6.0.4 on VirtualBox, and I'm trying to install g++. So, into the terminal I typed:
aptitude install build-essential
But it's trying to get the package from disk:
Media ...
3
votes
3answers
263 views
What package managers do popular Unix Distributions Use?
I am creating a Script and I need to know what package manager each Popular Unix Distribution Uses (especially those distros that are commonly-used for Servers)...
I mean:
Debian uses apt-get
Fedora ...
2
votes
2answers
108 views
Is there a way to specify a name for “/etc/apt/sources.list” file?
Can the location for APT sources, named /etc/apt/sources.list, be named differently (e.g. /foo/my-renamed-apt-sources-file"), without breaking APT (i.e. via some configuration)?
1
vote
1answer
134 views
Getting the source for something that doesn't seem to have an associated package?
I recently just wanted to look at the source code for sha1sum.
alec@ROOROO:~/tmp-source-study$ apt-get source sha1sum
Reading package lists... Done
Building dependency tree
Reading state ...
1
vote
1answer
325 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.
...
2
votes
2answers
2k views
apt-get install - where does it go?
Just a basic question on this utility... I did
sudo apt-get install libhtmlparser-java
And I would like to see the source I just downloaded. On Linux (Ubuntu) where ought I look for this?
6
votes
3answers
1k views
How to see package version without install?
I want to see the version of a package before I install it. How can I do this?
1
vote
1answer
184 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 ...
4
votes
1answer
1k views
What does “The following packages have been kept back” mean?
When doing an apt-get upgrade I sometimes get a message saying "The following packages have been kept back". For example:
$ sudo apt-get upgrade ...
3
votes
1answer
1k views
How do I install mod_pagespeed using apt-get?
I remember seeing an article at one time on how to do this, but now I can't find it. I have seen other install directions. I want to make sure I can easily update it via apt.
0
votes
1answer
170 views
pattern to install dependencies in linux
Different OSes have different standard way of installing package dependencies; in OS X, all library dependencies are copied in the App folder.
Windows application developers have both options; they ...
3
votes
2answers
509 views
Does “apt-get purge” remove config files stored in user home dir?
I used
sudo apt-get purge [package_name]
and
sudo apt-get autoremove --purge
to remove an application so that on reinstalling it gets back to default configuration. But it didn't work, all ...
1
vote
0answers
305 views
Resolving unmet installation dependencies; file system problems
Somehow part of my ext3 file system got corrupted and large portions of my python installation got all sorts of messed up. The only thing I could notice immediately was Python raising a missing module ...
1
vote
1answer
903 views
build-dep firefox not working on Linux Mint
I'm on the latest Linux Mint 12. In order to compile Firefox I need to do a
sudo apt-get build-dep firefox
which isn't working and showing the following error:
$ sudo apt-get build-dep firefox
...
4
votes
2answers
3k views
Enabling apt repository priority in LMDE
I want to set up apt repository priority ordering in Linux Mint Debian Edition 2012.04. In /etc/apt/preferences the order should be: LMDE -> Debian testing -> Debian unstable. In other words, I almost ...
3
votes
3answers
143 views
Using the apt package manager refuse an update for a specific package
I am attempting to upgrade a few packages using the apt package manager. However there is a specific package in the list that I don't want to upgrade. In fact I don't want anyone to ever upgrade it. ...
4
votes
4answers
144 views
Is it possible to determine what is inside Debian package without installing it?
I need a markdown library for development - based on package names I could not understand which one I should install...
den@playground:~$ sudo aptitude search markdown
p html2markdown ...
3
votes
3answers
318 views
Why does installing python-minimal package also grab the python package on Debian?
From running:
apt-cache depends python2.6-minimal | grep Depends
and
apt-cache depends python2.6 | grep Depends
it looks like python2.6 depends on python2.6-minimal and a lot more.
However, ...
3
votes
1answer
323 views
Are bsdutils, coreutils, and busybox all necessary in a Debian install?
I first installed Debian with a netinst CD without networking, then edited /etc/apt/sources.list to point to the main repository, then ran dhclient eth0 to set up networking. Then I installed less. ...
6
votes
3answers
674 views
In debian based systems, how do we purge configuration files of packages that have already been uninstalled?
To be more specific, I would like to do the equivalent of adding the --purge flag to the following command
sudo apt-get autoremove --purge [package name]
to packages that are no longer on the ...
1
vote
1answer
172 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 ...
4
votes
1answer
639 views
Why did adding the Debian testing repository create so many package dependencies?
I have Debian 6.0.4, and I'm running an outdated Geany text editor package. There's no newer version available in the current stable repository, so I added testing packages to sources.list:
#debian ...
1
vote
3answers
15k views
Installing git “sudo: apt-get: command not found”
I am trying to install git. I run the following command:
sudo apt-get install git-core git-gui git-doc
But receive the following error:
sudo: apt-get: command not found
What should I do?
2
votes
2answers
3k views
How can I update to a newer version of Git using apt-get?
I've just set up a new machine with Ubuntu Oneiric 11.10 and then run
apt-get update
apt-get upgrade
apt-get install git
Now if I run git --version it tells me I have git version 1.7.5.4 but on my ...
3
votes
2answers
2k views
Fixing broken packages in a Debian testing distribution
I'm playing around with Linux Mint Debian Edition (LMDE) in a VirtualBox instance to try it out and see if it'd be good for a main operating system for me. I'm pretty competent with most system ...
1
vote
2answers
380 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:
...
3
votes
1answer
2k views
Debian squeeze (stable) broken packages after installing something from wheezy (testing)
root@server:/home/ante# apt-get install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may ...
2
votes
1answer
209 views
How can I view the list of packages that were “suggested” by apt?
When installing a package using apt-get install package a list of "Suggested packages" is displayed. What command can be used to print it again?
1
vote
0answers
243 views
Debian: Upgraded to php 5.3 and lost phpcli, php-pear, etc
I upgraded to PHP5.3 using this tutorial: http://www.debiantutorials.com/how-to-install-upgrade-to-php-5-3-on-debian-lenny/
It removed the following packages:
Removing php-pear ...
Removing ...
7
votes
1answer
359 views
Debian: How to delay configuration when installing/upgrading?
One of my Debian systems is rarely upgraded. So when it is time to upgrade, there are loads of packages. Right now I basically have to monitor the upgrade, because every 50 packages or so there is a ...
1
vote
2answers
3k 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
333 views
How and where to install a headers only library?
I like to install gource which requires libglm-dev installed on the system. I am using Ubuntu 10.10. Maverick. The newest sources of the headers only library I found is not available for apt-get. ...
1
vote
1answer
78 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 ...
1
vote
1answer
330 views
List installed meta packages in APT
Meta packages are packages that do not install anything by themselfs, but are dependent on other packages. How do I list the installed meta packages on my system?