Debian :: Stopping Aptitude Upgrading A Package?

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


ADVERTISEMENT

Debian :: System Upgrading With Apt-get And Aptitude

Feb 7, 2016

Normally I use apt-get for to upgrade my Debian system. Today i tried to compare apt-get and aptitude with respect to system upgrade. Surprisingly I got different results.

Code: Select allsudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done

The following packages have been kept back:

openjdk-7-jre openjdk-7-jre-headless

The following packages will be upgraded:
  libtiff5
1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Need to get 213 kB of archives.
After this operation, 44.0 kB disk space will be freed.

Code: Select allsudo aptitude safe-upgrade
Resolving dependencies...               

The following NEW packages will be installed:
  libsctp1{a} lksctp-tools{a}

The following packages will be upgraded:
libtiff5 openjdk-7-jre openjdk-7-jre-headless
3 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 45.9 MB/45.9 MB of archives. After unpacking 9,130 kB will be used.

What is behind these results? Which method is safer?

View 5 Replies View Related

Debian Installation :: Aptitude Update And Aptitude Install Aptitude?

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

Debian :: Does Synaptic Package Manager Use Apt-get Or Aptitude

Aug 14, 2010

I have Lenny with Gnome installed. Does Synaptic Package Manager use apt-get or aptitude?

View 2 Replies View Related

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 View Related

Debian Installation :: Aptitude And Dpkg Cannot Install Any Package

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

Debian Configuration :: Apt / Aptitude - Encountered Section With No Package

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

Debian :: Use Aptitude To Check For An Installed Provided Package?

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

Debian :: Name Of Package That Prints Ncurses Style Dialogs During 'aptitude Safe-upgrade'

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

Debian :: Apt/aptitude Package Management "auto" Flag?

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

Debian Installation :: Upgrading One Particular Package From Jessie To Stretch

Jan 8, 2016

I have installed Package: gnumeric (1.12.18-2) in my Jessie/Mate system. It is very jittery on scrolling, and I was wondering if I should upgrade to the version (1.12.26-1) in stretch(testing), as there seem to have been a large number of bugfixes.

I have tried the following simulation command, but it gives the error message shown:

Code: Select all~# apt-get --simulate -t stretch  install gnumeric
Reading package lists... Done
E: The value 'stretch' is invalid for APT::Default-Release as such a release is not available in the sources

The documentation suggests that I may need to create an apt preferences file. I do not have any of the following files mentioned by the apt-get man page:

/etc/apt/preferences/etc/apt/preferences.d/etc/apt/apt.conf

What I would like to do is upgrade just the specific package jessie/gnumeric(1.12.18-2) to stretch/gnumeric(1.12.26-1). I do not want any other packages to be inadvertently upgraded to stretch. I have seen warnings that one can easily end up with a badly mixed system and I wish to avoid that! I also do not want to disturb the standard apt-get update, which I am running daily via anacron at present.

View 14 Replies View Related

Ubuntu :: Aptitude A Next To Package Status?

Apr 6, 2011

Aptitude a next to package status?

View 1 Replies View Related

Ubuntu :: Keep Aptitude From Deleting A Package?

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

General :: Tell Aptitude To Ignore Broken Package?

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

Ubuntu Installation :: Aptitude Wants To Remove A Package?

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

Ubuntu :: Long Package Descriptions In Aptitude?

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

Ubuntu :: Aptitude No Longer A Default Package In 10.10?

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

Software :: Error When Install Package Aptitude?

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

Ubuntu :: Apt-get (use Aptitude Purge To Remove All Associated Files Of A Package)?

May 2, 2010

Did a fresh install of 10.04 Desktop 86_64 this weekend. One of the first issues I noticed right away was that apt was not function properly. Say for example you install the packages tor and vidalia (assume I'm running everything from root). #apt-get install tor vidalia This command will check and install necessary dependencies, for example 'privoxy'. Now if you decide that you don't want to use privoxy and instead use polipo, you would probably feel inclined to remove privoxy. Well I found that apt-get autoremove, apt-get remove, apt-get purge WILL NOT remove all the files/directories associated with the package. You'll find that after running each of these commands, there will still be directories, scripts, etc. in /etc/init, /etc, and /etc/rc*.d. The only solution I've found to completely removing a package is aptitude purge [package].

View 1 Replies View Related

Ubuntu :: Aptitude Package Manager Good As Synpatic?

Oct 7, 2010

Is Aptitude Package Manager good as Synpatic?

View 5 Replies View Related

Software :: Force Synaptic/update Manager/aptitude To Accept A Broken Package?

Nov 9, 2010

I forced the install of graph-tool package [URL]. Now it is of course tagged as broken, so update manager wont do anything. But I want to accept it, I know it is not really broken. (In fact, graph-tool_xxx.deb asks for libcgal4. squeeze only has libcgal5, so I am betting this is not an issue, as far as graph-tool is concerned.)

View 2 Replies View Related

Ubuntu :: Boot Hangs On "Stopping Save Kernel Messages" Or "stopping System V Runlevel Compatib?

May 16, 2011

Boot of a new minimal system hangs on "Stopping save kernel messages" or "stopping system v runlevel compatibility". I have ubuntu minimal iso x86_64 from usb stick created with unetbootin (don't have a cd drive on the machine in question), and after that I didsudo aptitude install gnome-terminal network-manager-gnome gdm geditsudo rebootnever got a system back. Annoyingly I can't boot into the recovery mode either, and it seems the keyboard is only semi-responsive (i.e. many dead keys when at the grub menu).qualms about reinstalling, but I've done this a few times and ended up at the same place every time.

View 6 Replies View Related

Debian :: Rc.d Permanently Stopping Processes ?

Feb 21, 2011

I will be switching to Debian soon and have been forming a large script with a vbox test system to automate my system configuration when I switch.

When I install lamp (Or basically it's equivalent packages) apache and mysql start up automatically.

I could just use update-rc.d to remove the autostart but whenever there's a security or feature update for the package the files get replaced.

In addition, for some reason the system thinks it's a good idea to autostart half a dozen apache2 processes at the same time, sucking up a good 150Mb ram when not doing anything. (Anyone know why?)

How would I stop my system from doing this? Could I "chmod 000" the /etc/init.d files?

View 2 Replies View Related

Ubuntu :: Could Not Find Package During "aptitude Remove"?

Dec 7, 2010

I'm trying to replace the ubuntu version of openoffice with the official release. During this procedure I ran the command:sudo aptitude remove openoffice.org-*and get the error:
Couldn't find any package whose name or description matched "openoffice.org-re_1.6.1-18_amd64.deb"I went in to synaptic and removed all the openoffice packages through the GUI (none of which matched that name) as well as the UNO and URE packages. Even after uninstalling all the packages, if I run the aptitude command again get the same error.What is going on here? Does it indicate that my package database has been corrupted? Can I rebuild the database? Should I just ignore this error

View 1 Replies View Related

Debian :: Stopping Specific Dependancies From Being Installed?

Jul 29, 2010

I am trying to install freemind without it downloading and installing openjdk as a dependency as it makes freemind run very, very slow. I have already installed sun-java-jre as a substitue but debian still wants to install openjdk.Any ideas how I can stop this? Also, should I assume that sun-java-jre is not installed properly as debian thinks the dependency is not met? I installed sun-java-jre with the auto bin file downloaded from the sun site. It is installed in /usr/java, is this right?I love debian! It's much faster and more robust then Ubuntu, even with squeeze testing (current version). Just a bit of a shock have to do some basic config myself.

View 2 Replies View Related

Debian :: Full-upgrade Fails At Stopping Fancontrol

Jul 11, 2015

summary: `sudo aptitude full-upgrade` (to jessie) ran long time before hanging @

Code: Select allSetting up fancontrol (1:3.3.5-2) ...
Installing new version of config file /etc/init.d/fancontrol ...
[ ok ] Stopping fan speed regulator: fancontrol.

Killing the job produced damage detailed below. How best to proceed?

details:

I'm upgrading a 7-year-old 64-bit Clevo/System76 laptop to jessie. My first run of `sudo aptitude full-upgrade` ended after fetching packages, with the following lines ending the console spew:

Code: Select allGet: 2051 http://http.debian.net/debian/ jessie/main user-setup all 1.61 [196 kB]
Fetched 1,816 MB in 17min 38s (1,715 kB/s)
E: This installation run will require temporarily removing the essential package python:amd64 due to a Conflicts/Pre-Depends loop. This is often bad, but if you really want to do it, activate the APT::Force-LoopBreak option.
E: Internal Error, Could not early remove python:amd64 (2)

So I started a second run with `sudo aptitude -o APT::Force-LoopBreak=true full-upgrade`. I left it running overnight, checking back periodically to OK overwriting `/etc/*` files with package-maintainer's versions. Friday I checked the box ~0900 and found

Only GUI application running was `gnome-terminal`, with the upgrade running in a single tab. This was working as intended, since I closed all other apps, and all but one `gnome-terminal` tab, before starting the upgrade. desktop environment (DE)=Cinnamon (also as intended) mouse was non-responsive: swiping the touchpad produced no movement keyboard appeared non-responsive (but more on that below) internal fan was running apparently full-speed (certainly as loud as I've ever heard it) console spew ended with the following 3 lines:

Code: Select allSetting up fancontrol (1:3.3.5-2) ...
Installing new version of config file /etc/init.d/fancontrol ...
[ ok ] Stopping fan speed regulator: fancontrol.

I left it running in hope the upgrade would recover, but after 7 hours nothing had changed, so I attempted to kill the job. The following all failed:

invoking shutdown via desktop menu (neither mouse movement nor pressing Super key produced any change) C-c/Ctrl-c in the terminal tab (nothing changed in the GUI) A-F2/Alt-F2 (trying to run another `gnome-terminal` to run `sudo shutdown -Ph now`, but no dialog appeared) C-A-F1 (to goto tty1 and run `sudo shutdown -Ph now`, but again no change in GUI/X)

The good news is, the box did reboot after `A-SysRq-[REISUB]`, though only to tty1. From there, `sudo dpkg --audit` produces these results.

So obviously the upgrade is incomplete; how best to resume it, or to debug the current situation before resuming? I'd prefer to fix the problem with `fancontrol` before proceeding, since the previous `full-upgrade` was quite long-running.

FWIW I also recorded the packages that the previous/broken `aptitude full-upgrade` wanted to {add, remove, upgrade}, and note that package=`fancontrol` is one that `aptitude` wanted to upgrade. So I'd like to know if I should just

Configure unpacked-but-not-yet-configured packages as directed by `dpkg --audit` reconfigure only-half-configured packages as directed by `dpkg --audit` process triggers for packages awaiting processing of triggers as directed by `dpkg --audit` reinstall packages missing md5sums as directed by `dpkg --audit` create a list of packages to remove (from those listed in the previous upgrade) add `fancontrol` to that list run `sudo aptitude remove [list of packages]` from tty1 create a list of packages to add and upgrade (from those listed in the previous upgrade) delete `fancontrol` from that list run `sudo aptitude install [list of packages]` from tty1 rerun `sudo aptitude full-upgrade` from tty1 (hoping that cleans up any remaining upgrade work, and does not try to reinstall package=`fancontrol`)

View 13 Replies View Related

Server :: Stopping Automatic Disc Check In Debian?

Sep 7, 2010

Whenever my debian based server is rebooted 35 times it does an automatic disc check. When it does this and completes the disc check it doesn't properly establish network comms and I can't get in using SSH and I can't even ping the server.If I reboot again, it operates as normal but the problem is that the server is remote to me and I need to travel to the site when this occurs.

View 6 Replies View Related

OpenSUSE :: Stopping The Screen Saver And Stopping The Screen Locking?

Jan 23, 2011

In December I finally filled up my root partition and broke Suse 11.1. I therefore resized my partitions and installed Suse 11.3 on /root. I didn't not touch my /home partition.

I notice that when I leave my machine and come back the screen has locked. I have tried to turn off the screensaver, but it hasn't worked. I have Googled, but unfortunately the screen shots don't look like what I have and the instructions to stop this do not seem to match what I am seeing on the screen.

Is there a way to do this via the command line?

View 7 Replies View Related

Debian Configuration :: Starting/Stopping A XEN VM Kills Network For 30 Seconds

Jul 13, 2010

I'm having trouble working with Xen on debian, I have many centos servers running Xen and have no problems. Everytime I start or stop a XEN vm it kills networking on the host OS for about 30 seconds. It doesn't respond to pings or anything, then it returns and everything works. I have asked about this issue in #xen on freenode.

View 3 Replies View Related

Debian Hardware :: Sdparm Not Stopping SATA Disk In Squeeze

Feb 9, 2011

I recently updated from Lenny to Squeeze. In Lenny I used to spin down my internal SATA backup drive like this:

# sdparm --command=stop /dev/sdb

It worked well in Lenny, but it doesn't work in Squeeze:

XXXX:~>sudo sdparm --command=stop /dev/sdb
/dev/sdb: ATA       WDC WD2500AAJS-2  01.0

All I can hear is a click indicating drive head movement but the disk keeps spinning.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved