Debian :: Apt, Aptitude And Other Package Managers Fail To Work
Jun 27, 2011
I had debian squeeze on my personal computer at home, 3 days ago i've upgraded it to the debian testing. last day i've installed virtualbox which i've gotten from virtualbox.org . today non of package managers work. an example of installing sumthin new with apt:
root@fairyland:/home/timmy# apt-get install clamav
Reading package lists... Done
Segmentation faulty tree... 50%
root@fairyland:/home/timmy#
also synaptic can't be started. i've run apt-get clean and removed /var/lib/apt/list i also tried apt-get update but these don't work sum useful info:
root@fairyland:/home/timmy# tail -n 40 /var/log/dpkg.log
2011-06-26 11:58:07 status half-installed virtualbox-ose 3.2.12-dfsg-1
2011-06-26 11:58:07 status config-files virtualbox-ose 3.2.12-dfsg-1
[code]....
just don't tell me i've to refresh its base, shit i hate to do this, i'd never done that about debian, this is one of the reasons i luv debian.
View 3 Replies
ADVERTISEMENT
Jul 11, 2010
I am trying to upgrade an amd64 lenny system to squeeze.I've got a 2.6.32 kernel running, done aptitude update and aptitude install aptitude.When I try "aptitude safe-upgrade", it sits forever resolving dependencies.it seems to search with the resolver counting up more and more open/conflict/ whatever.I stopped it once it got over 100,000)Is it possible to get aptitude to do a safe-upgrade, perhaps using a command line option?
View 2 Replies
View Related
Jan 29, 2010
I've build a package using dpkg-buildpackage but whenever I run aptitude safe-upgrade it upgrades the package I compiled as well even though it's the same version is there a way to tell it to leave it alone?
View 3 Replies
View Related
Aug 14, 2010
I have Lenny with Gnome installed. Does Synaptic Package Manager use apt-get or aptitude?
View 2 Replies
View Related
Jan 26, 2011
I am running Debian Sid unstable , from one day apt-get, aptitude and dpkg cannot install any package.
View 1 Replies
View Related
Apr 18, 2011
I changed to testing repository in my Debian 6.0 and I used command "apt-get update". Now, everytime I want to do something with apt-get or aptitude, I receive this:
With apt-get:
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/ftp.cz.debian.org_debian_dists_squeeze_main_i18n_Translation-cs
E: The package lists or status file could not be parsed or opened.
or with aptitude:
[ ERR] Reading package lists
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/ftp.cz.debian.org_debian_dists_squeeze_main_i18n_Translation-cs
E: The package lists or status file could not be parsed or opened.
E: Couldn't rebuild package cache
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/ftp.cz.debian.org_debian_dists_squeeze_main_i18n_Translation-cs
E: The package lists or status file could not be parsed or opened.....
View 2 Replies
View Related
Jan 15, 2011
I regularly compile something from a source repository that has a certain set of dependencies. Some of these dependencies are dev libraries that are provided via other libraries but are not considered installed packages in themselves, so I cannot test for some dependencies directly.
I am currently parsing an "apt-cache showpkg" output to check for some of these provided dependencies. This is somewhat kludge-y and messy, and I was looking for a more elegant solution.
Is there an APTITUDE option that will directly test for the presence of a library that is part of some other package without having to know the name of the package that the library is part of?
View 2 Replies
View Related
Jan 11, 2010
I have Ubuntu Karmic 64-bit installed. Update manager tells me there are updates available, but when i try to install them, downloading the updates fail and throws this error:
Code:
Failed to fetch [URL]
Consequently, a similar error occurs when I try installing Sun Java 6 Runtime.
Code:
Failed to fetch [URL] Connection failed [IP: 91.189.88.31 80]
And of course Ubuntu Restricted Extras stalls when it's time to download the Java package
I tried synaptic, update manager, aptitude, apt-get, and they all throw similar errors. Then I also tried connecting to different servers, to no avail. So to check if it's my connection to the net that has problems somehow, I tried downloading the file directly through my web browser, and it works. (But it's not recommended, and it won't let me!, install the updates manually, right?) I then checked if I'm using some inappropriate proxy settings, and everywhere it's all set up to connect to the net directly, which is, well, my setup. Take note though, that I am able to install other software normally, i.e, using synaptic, apt-get etc. The ones I tried include Pidgin and Mplayer.
It's just these updates and Java:
Code:
jeanne@jeanne-desktop:~$ sudo sudo aptitude upgrade
W: The "upgrade" command is deprecated; use "safe-upgrade" instead.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following packages will be upgraded:
libc-bin libc-dev-bin libc6 libc6-dev libc6-i386
5 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded .....
Code:
#
# sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com KEY
# Ubuntu supported packages .....
View 4 Replies
View Related
Mar 1, 2010
I'm running Debian squeeze and my packages are all up to date. I usually do my updates by typing 'aptitude update' and 'aptitude safe-upgrade' at the command line as root.Sometimes when doing regular updates aptitude, or the package that's being updated, shows a ncurses-style dialog box on the screen, usually to have the user 'OK' a change, or to select which version of a configuration file to keep. Recently I've found these dialog boxes to be slightly messed up... in that the spot at the bottom where I would expect the 'OK' button to be is replaced by nonsensical characters.
There seems to be no problem with the way that the program functions, as I can press the tab key and then the return key, or just the return key alone, and the dialog goes away, seemingly doing it's job. But I would like to know what this program is. It's likely been updated recently, but looking through /var/log/aptitude and /var/log/aptitude.1.gz I cannot figure out which one it is. I'd like to file a bug report, or simply be able to follow the progress of someone else's bug. That's all.
View 10 Replies
View Related
Feb 26, 2010
get a GUI working after installing Debian. Now, I have another set of problems so I decided to create a new thread. the first thing going wrong is that when I type aptitude update I get the following output:
[Code]....
I want to download the driver for mi wireless, get openoffice and a bunch of other things, but with this not working, I'm guessing there's not much I can do now... I have the driver of the wireless, which I downloaded before the installation of Debian, and that I now copied to my new Debian desktop, but I cannot open it... it is a tar.gz file. I'm currently connected through wired connection by the way.
View 14 Replies
View Related
Jul 14, 2010
I'm using squeeze and my updates are all updated. Aptitude-gtk is at 0.6.3-2 . My menu icons, like 'Update', 'Packages', and 'Preview' don't work. Luckily the buttons at the bottom of the screen, like 'Fix Manually' and 'Upgrade', still work. In this way the application is still useful. I can still search for things, and I can right-click with the mouse to mark packages for installation or removal. Then I use the buttons at the bottom of the screen to finish the work. BUT the menu icons , and come to think of it, options in the menus, don't work. Does anyone else have this problem? I went through the bug page on the debian site but I cannot find my problem.
View 2 Replies
View Related
Apr 30, 2011
I have got Debian SID (2.6.38-2-amd64) (lenovo x61s) after the last aptitude dist-upgrade the keyboard does not work (udev 168-1) after boot. The USB keyboard and the usb mouse work fine. Have you got any idea on how to fix it? I have google it but I have not found any similar issue.
debian:/home/andrea# lsmod
Module Size Used by
acpi_cpufreq 12849 1
[code]....
View 2 Replies
View Related
Dec 14, 2010
My problem is whit the package managers all of it is not responding (update,GDebi,synaptic), it bater if any one know application replacing them because i'm always having problem whit them and this picture could help ;
View 5 Replies
View Related
Jul 14, 2011
All my package managers are crashing. I will try to start them up, they will begin loading, and then will crash. The problem began with the Update Manager putting up the red circle error icon that says: "An error has occured, please run Package Manager from the right-click menu or apt-get in a terminal to see what is wrong. The error message was: 'Error: BrokenCount > 0'. This usually means that your installed packages have unmet dependencies."
The recommended fix for this looks to be on this post that I got from LaunchPad: [url]
It says to: "Open the Synaptic package manager. System --> Administration --> Synaptic Package Manager
If anything is broken it will tell you.Choose 'Custom' from the buttons at the bottom then click on 'Broken'
Right click on the offending package and choose to remove it."
Unfortunately, Synaptic won't open.
View 2 Replies
View Related
Feb 28, 2011
I have a noob qn, if I installed a program with yum, will I be able to see the details of the installed program with rpm -qa? My linux has no internet access so I can't test it out.
View 11 Replies
View Related
Jun 14, 2010
Background: An [old] x86-based server running Debian Squeeze screwed up one of its SCSI hardware raids. Since the problem seemed more related to the raid controller than the disks (the disks still responded and I was able to restore their contents with some trickery), I got myself a QNAP NAS TS-119 as a replacement, installed Debian on it and wanted to install the original set of packages to the new platform.Instead of simply installing all packages on the QNAP that were on the old x86 box, I wanted to maintain the status of automatically installed packages in aptitude.
After looking at /var/lib/aptitude/pkgstates and a bit of confusionI looked at the aptitude source code and found the following rather simple explanation:Aptitude merges the package status information from apt and aptitude without storing redundant information in its own status file (which is good). This means the information aboutckages that were automatically installed is tracked in /var/lib/apt/extended_states.This may seem trivial but I couldn't find this information on the Internet I thought I'd submit a dummy question here in case others are havng similar problems.For the sake of completeness: There seem to be situations (like pending actions) where aptitude will store auto-install information in its own state file, /var/lib/aptitude/pkgstates.
View 1 Replies
View Related
Jan 10, 2011
I have been using kubuntu 10.04 for a while now and its working great. The main problem is that as far as I know it lacks a simplified package manager like ubuntu software center. Kpackagekit is fine as a synaptic replacement but searching for programs among all sorts of unrelated packages is very tiring. Are there any other options?
View 4 Replies
View Related
Aug 21, 2010
I have Ubuntu Karmic 64-bit installed. Update manager tells me there are updates available, but when i try to install them, downloading the updates fail and throws this error:
Code:
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/e/eglibc/libc6-i386_2.10.1-0ubuntu16_amd64.deb
Consequently, a similar error occurs when I try installing Sun Java 6 Runtime.
Code:
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/multiverse/s/sun-java6/sun-java6-jre_6-15-1_all.deb Connection failed [IP: 91.189.88.31 80]
Ubuntu Restricted Extras stalls when it's time to download the Java package I tried synaptic, update manager, aptitude, apt-get, and they all throw similar errors. Then I also tried connecting to different servers, to no avail. So to check if it's my connection to the net that has problems somehow, I tried downloading the file directly through my web browser, and it works. (But it's not recommended, and it won't let me!, install the updates manually, right?) I tried searching for the errors on the net and in the forums, and they're all somehow related to proxy servers. I then checked if I'm using some inappropriate proxy settings, and everywhere it's all set up to connect to the net directly, which is, well, my setup.
Take note though, that I am able to install other softwares normally, i.e, using synaptic, apt-get etc. The ones I tried include Pidgin and Mplayer. It's just these updates and Java:
Code:
jeanne@jeanne-desktop:~$ sudo sudo aptitude upgrade
W: The "upgrade" command is deprecated; use "safe-upgrade" instead.
Reading package lists... Done
[code].....
View 3 Replies
View Related
Jul 6, 2010
I have packer installed for AUR packages, but I want to be able to use the pacman command for both. I think I will need a function for this -- what I mean is that whenever I use pacman, it will try using packer and if that fails (invalid option) it will use pacman-color. It could also decide which program to use based on the arguments. I can't just use packer (alias pacman='sudo packer') because packer doesn't have some options like -R to remove packages. I want to always use it to install and upgrade packages however, because It can install from the default repositories as well as AUR.
Does someone know how to accomplish this, or could point me in the right direction? I'm new to bash scripting. error (e.g. pacman -V prints packer: Option '-V' is not valid.).
View 1 Replies
View Related
Jul 16, 2011
I've been looking further into Linux from Scratch, and I am particularly interested in the package management side of the system. I understand that this is not covered in the book, but if I were to attempt LFS, package management would be a major convenience. From what I have read, when upgrading packages like glibc, you have to recompile everything to reflect the change.
If that is true, how do package managers like pacman and apt get around this issue? Isn't lacking glibc for even the time it takes to replace the files catastrophic to the system?
View 1 Replies
View Related
Jan 19, 2010
I don't know whats happening. the second i open either the update manager, add or remove programs, or the package manager tehy close instantaneously and when i click the button for updates on the top bar of my computer it shows a picture of a minus sign in a red circle. hwo can i fix this. i have ubuntu 9.04 and im trying to upgrade it and get new programs but it wont let me. ive tried the sudo get updates etc etc
View 1 Replies
View Related
May 29, 2010
Is there an easier way (without using a package manager) to upgrade programs? For example, I just want to upgrade Amarok. In order to do this, I've had to upgrade every one of it's dependencies because they've all had minor upgrades from the versions I already have installed.
Is there an easier way to compile programs and their dependencies manually or are package managers the only way?
View 1 Replies
View Related
Apr 6, 2011
Aptitude a next to package status?
View 1 Replies
View Related
Dec 15, 2010
I'm trying to install Apache2+PHP5+MySQL-cluster on a Ubuntu 10.10 server. I've done many installs like this but with just plain MySQL so this is my first time using mysql-cluster. After getting mysql-cluster working I went back and installed the packages for apache and php5, but somehow I forgot to install the php5-mysql package (not sure how I missed that!) so when I got back to install it it tells me it wants to uninstall mysql-cluster. The "error" I see is:
mysql-cluster-client will be automatically removed because of dependency errors:
* mysql-cluster-client depends on mysql-cluster-client-5.1 [universe]
I put a lot of time in to get mysql-cluster working and don't want to lose it. How do I tell aptitude to just leave it alone and install the php5-mysql package?
View 1 Replies
View Related
Jan 13, 2010
I installed a Amsynth from Lucid in Karmic using:
dpkg --force-depends-version -i amsynth_1.2.2-1_i386.deb
The reason for installing the Lucid version is because Karmic version is 3 years old and crashes on my machine. The Lucid Amsynth package depends on newer versions of libatk1 and libjack0 than Karmic has, but I thought I would take a risk, and turns out Amsynth runs fine. However aptitude tries to uninstall Amsynth every time I do an upgrade. I think I've managed to put it on hold but now aptitude aborts. How can I tell aptitude to ignore the broken package and carry on.
View 3 Replies
View Related
Jan 19, 2010
i installed a package with dpkg --install and told it to ignore an unmet dependency because the package it depended on could not be installed with apt-get (it was a perl module) and i have manually installed the perl module, it works... however every time i do "apt-get upgrade" or anything like that it wants to remove the package i forced to install because it still thinks there are unmet dependencies, is there a way to either tell it to ignore that the package has unmet dependencies (i mean ignore that always, not something i will have to add every time i use aptitude) or is there a way to convince it that the package it thinks is missing (the unmet dependency) is actually met.
View 3 Replies
View Related
Nov 16, 2010
I was wondering if anyone knew how to get long package descriptions which searching for packages with aptitude.my search results have package descriptions that are truncated even if the terminal is expanded to allow longer one-line package descriptions.
View 1 Replies
View Related
Nov 26, 2010
I stopped using ubuntu for a while at 9.04 (went to mint and came back) because it was not installing properly. I thought it had aptitude in it then, but I did not have it after installing 10.10 (installed it twice it is not on either). I am just wondering why, even debian includes aptitude.
View 3 Replies
View Related
Apr 26, 2011
rosy84@rosy84:~$ apt-get install packagename aptitude
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
View 7 Replies
View Related
Apr 26, 2010
I've tried KDE, XFCE & fluxbox (this latter of which I think I prefer). They all work but they all have similar streaks & distortions on the GUI. Is this certainly a driver issue?
Also, after using them for a while they freeze.
In an earlier thread dc_eros suggested installing the latest openchrome, which fixed a similar problem he had with his first slack13.
View 9 Replies
View Related