[orca-list] Package management - unmarkauto



When I do sudo aptitude unmarkauto foo

aptitude still lists a huge number of packages, then says "107 to remove, 
blah blah". It seems as if it still wants to remove my entire build 
environment, even the packages I explicitly set to manual. What's going on 
here?

I deleted, and then recreated (via touch) /var/lib/dpkg/available, then ran 
sudo aptitude update before trying unmarkauto.

Thanx for any help with this.
-- Rich

----- Original Message ----- 
From: "Jacob Schmude" <j schmude gmail com>
To: "Rich Caloggero" <rjc mit edu>
Sent: Tuesday, February 17, 2009 5:55 PM
Subject: Re: [orca-list] Notification messages, and lots of errors from 
apt-get and dpkg


Hi Rich
The panel icons you need to click to get rid of these notifications
are on the top panel. Tab past the buttons for firefox, evolution, and
help. After that you will here "icon." This is the first notification
icon. Which one it is I can't say, it depends on which notifications
came first. Anyway, just keep going through them and pressing enter on
them, and you'll get their respective dialogs. Keep doing this until
you get to the network manager icon, you'll know this one because when
you press enter on it you'll get a menu listing your available network
devices. As you take care of each notification, the icon representing
it will be removed from your top panel.
For your second problem, it sounds to me like your available database
has either been corrupted, or there is a server-side database error
that was missed when the database was regenerated. The way I fix this
is to remove the file:
/var/lib/dpkg/available
Then run:
sudo aptitude update
This will regenerate that information. Looking at the contents of your
auto-remove, however, I wouldn't go ahead with it unless you don't
ever plan to update orca from svn on this virtual machine. Packages
such as python-gtk2-dev need to be kept. In fact, it looks for some
odd reason as if apt is trying to automatically remove just about your
entire build environment, because no currently installed package
depends on it. Here's what I'd do:
sudo aptitude unmarkauto build-essential python-gtk2-dev python2.5-dev
gcc g++
This marks them as being manually installed, rather than auto-
installed as a dependency, and marking those packages should be
sufficient for apt to stop trying to remove your development
toolchain. You might also install the gnome-common package to help
with this.
hth



On Feb 17, 2009, at 17:08, Rich Caloggero wrote:

Two questions...

First, I'm getting notifications from the system: one about updates
being
ready to install, and another about an app that has crashed. How do I
investigate this? Where is the notification panel or whatever its
called?

NExt, when trying to update firefox, I get many packages listed
which are no
longer needed. It suggests doing apt-get autoremove to remove them.
when I
do this, I get errors about missing newlines in package files, etc.
Here is
the terminal log:

Script started on Wed 11 Feb 2009 10:24:04 PM EST
]0;rjc intrepid: ~rjc intrepid:~$ sudo apt-get install firefox
[sudo] password for rjc:

Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 7%

Reading package lists... Done


Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree


Reading state information... 0%

Reading state information... 0%

Reading state information... Done

The following packages were automatically installed and are no longer
required:
 python-gtk2-dev libstdc++6-4.3-dev libpopt-dev liborbit2-dev
python-gtk2-doc
 libsm-dev libice-dev x11proto-xext-dev libatk1.0-dev debhelper
 intltool-debian x11proto-kb-dev libglib2.0-dev gnome-pkg-tools
 x11proto-xinerama-dev libpango1.0-dev g++-4.3 x11proto-render-dev
 docbook-xsl libxi-dev libxrender-dev po-debconf libatspi-dev
libcairo2-dev
 python-dev libxdmcp-dev g++ python2.5-dev libffi-dev libpng12-dev
cdbs
 libfontconfig1-dev python-pyorbit-dev libmail-sendmail-perl
 x11proto-record-dev x11proto-composite-dev xtrans-dev x11proto-core-
dev
 libxcursor-dev libbonobo2-dev fdupes x11proto-randr-dev
x11proto-damage-dev
 libxcb-render-util0-dev libgtk2.0-dev libxext-dev docbook-xsl-doc-
html
 libxdamage-dev zlib1g-dev libxml2-dev x11proto-input-dev libidl-dev
 libfreetype6-dev x11proto-fixes-dev libpthread-stubs0-dev libxau-dev
 dpkg-dev libpthread-stubs0 libxcomposite-dev libxrandr-dev
libexpat1-dev
 html2text libpixman-1-dev libxft-dev libx11-dev libxcb-xlib0-dev
 python-gnome2-dev libxcb-render0-dev libxfixes-dev orbit2 libxcb1-dev
 libxinerama-dev libxtst-dev libsys-hostname-long-perl python-
gobject-dev
 build-essential
Use 'apt-get autoremove' to remove them.
The following packages will be upgraded:
 firefox
1 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
Need to get 0B/68.9kB of archives.
After this operation, 0B of additional disk space will be used.


Selecting previously deselected package firefox.
(Reading database ... dpkg: error processing
/var/cache/apt/archives/
firefox_3.0.6+nobinonly-0ubuntu0.8.10.1_all.deb
(--unpack):
files list file for package `libgpod-common' is missing final newline
Errors were encountered while processing:
/var/cache/apt/archives/
firefox_3.0.6+nobinonly-0ubuntu0.8.10.1_all.deb
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
]0;rjc intrepid: ~rjc intrepid:~$ sudo apt-get install firefox

]0;rjc intrepid: ~rjc intrepid:~$ sudo apt-get remove firefox

Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 7%

Reading package lists... Done


Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree


Reading state information... 0%

Reading state information... 0%

Reading state information... Done

The following packages were automatically installed and are no longer
required:
 python-gtk2-dev libstdc++6-4.3-dev libpopt-dev liborbit2-dev
python-gtk2-doc
 libsm-dev libice-dev x11proto-xext-dev libatk1.0-dev debhelper
 intltool-debian x11proto-kb-dev libglib2.0-dev gnome-pkg-tools
 x11proto-xinerama-dev libpango1.0-dev g++-4.3 x11proto-render-dev
 docbook-xsl libxi-dev libxrender-dev po-debconf libatspi-dev
libcairo2-dev
 python-dev libxdmcp-dev g++ python2.5-dev libffi-dev libpng12-dev
cdbs
 libfontconfig1-dev python-pyorbit-dev libmail-sendmail-perl
 x11proto-record-dev x11proto-composite-dev xtrans-dev x11proto-core-
dev
 libxcursor-dev libbonobo2-dev fdupes x11proto-randr-dev
x11proto-damage-dev
 libxcb-render-util0-dev libgtk2.0-dev libxext-dev docbook-xsl-doc-
html
 libxdamage-dev zlib1g-dev libxml2-dev x11proto-input-dev libidl-dev
 libfreetype6-dev x11proto-fixes-dev libpthread-stubs0-dev libxau-dev
 dpkg-dev libpthread-stubs0 libxcomposite-dev libxrandr-dev
libexpat1-dev
 html2text libpixman-1-dev libxft-dev libx11-dev libxcb-xlib0-dev
 python-gnome2-dev libxcb-render0-dev libxfixes-dev orbit2 libxcb1-dev
 libxinerama-dev libxtst-dev libsys-hostname-long-perl python-
gobject-dev
 build-essential
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
 firefox
0 upgraded, 0 newly installed, 1 to remove and 10 not upgraded.
After this operation, 127kB disk space will be freed.
Do you want to continue [Y/n]? y


(Reading database ... dpkg: error processing firefox (--remove):
files list file for package `libgpod-common' is missing final newline
Errors were encountered while processing:
firefox
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
]0;rjc intrepid: ~rjc intrepid:~$ exit
exit

Script done on Wed 11 Feb 2009 10:25:39 PM EST

_______________________________________________
Orca-list mailing list
Orca-list gnome org
http://mail.gnome.org/mailman/listinfo/orca-list
Visit http://live.gnome.org/Orca for more information on Orca

    The major difference between a thing that might go wrong and a
thing that cannot possibly go wrong is that when a thing that cannot
possibly go wrong goes wrong it usually turns out to be impossible to
get at or repair.
--Douglas Adams





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]