LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices



Reply
 
Search this Thread
Old 10-05-2006, 06:49 PM   #1
xucaen
Member
 
Registered: Feb 2004
Distribution: fedora 10
Posts: 73

Rep: Reputation: 15
just ran upgrade-system and...


Hi, During this post I reference my earlier post (see: http://www.linuxquestions.org/questi...d.php?t=489763)

I did some google searches for debian upgrade looking for any possible discussions about upgrading.

I am running testing, and I fear upgrades.

Anyway, I found out about a util called upgrade-system. I installed it and read the man pages. I also read the man pages for deborphan.

I edited upgrade-system.conf and changed the options. Here is my upgrade-system.conf:

Code:
### upgrade-system.conf(5) config for upgrade-system(8) ###

# See apt-get(8)
CLEANOPTS="clean"

# See apt-get(8)
#UPGRADEOPTS="dist-upgrade"
UPGRADEOPTS="upgrade"

# See deborphan(1)
#ORPHANOPTS="--guess-all --libdevel --priority=4"
ORPHANOPTS="--libdevel"

#EOF
I wanted only to upgrade packages, and I did not want deborphan to guess at anything. I like the default behavior plus the additional option of --libdevel since I have installed many development packages over the years.

Then I ran upgrade-system.

I saw some errors flash by on the screen but it kept going.. Then it ended with this error:

Quote:
Errors were encountered while processing:
/var/cache/apt/archives/xpecs_1%3a1.0.1-2_all.deb
E: Sub-process /usr/bin/dpkg returned error code (1)
E: Some packages could not be upgraded
I don't know why this failed or if I need to do something to finish the upgrade, or can I just ignore this error?

Anyways, then I ran deborphan using the parameters I specified in upgrade-system.conf (deborphan --libdevel)
and I was surprised to see a big huge list of orphaned packages scroll by.

So, either upgrade-system does not remove orphaned packages, or upgrade-system failed before it could remove them.


At any rate, just for fun, I tried to install xmms (again. see 489763). Apt-get wants to remove xfree and install xorg. I guess I thought upgrade-system would have already installed xorg. So is xorg only upgraded when using the option 'dist-upgrade'? Or did upgrade-system fail before it could do it?

Thanks,

Jim
 
Old 10-05-2006, 07:04 PM   #2
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 457Reputation: 457Reputation: 457Reputation: 457Reputation: 457
upgrade tends to only upgrade extisting packages and not pull in new ones or new dependencies.

It is almost always better to run apt-get dist-upgrade.
APT HOWTO
http://www.debian.org/doc/manuals/apt-howto/

Upgrading from xfree to xorg can cause problems, but a quick Google search will give you the solution.
 
Old 10-05-2006, 07:17 PM   #3
xucaen
Member
 
Registered: Feb 2004
Distribution: fedora 10
Posts: 73

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by craigevil
upgrade tends to only upgrade extisting packages and not pull in new ones or new dependencies.

It is almost always better to run apt-get dist-upgrade.
APT HOWTO
http://www.debian.org/doc/manuals/apt-howto/

Upgrading from xfree to xorg can cause problems, but a quick Google search will give you the solution.

I just found some posts about doing a dist-upgrade with etch (testing)
Here's a question: Will I be able to keep KDE with xorg, or does the dist-upgrade remove KDE and install Gnome? I prefer KDE and don't want to lose it.

Jim
 
Old 10-05-2006, 08:39 PM   #4
JackieBrown
Member
 
Registered: Dec 2004
Location: San Antonio, TX
Distribution: Debian-AMD64 Sid
Posts: 481

Rep: Reputation: 31
Depends where you are starting from. It's not like it will remove packages without telling you.
 
Old 10-06-2006, 11:36 AM   #5
xucaen
Member
 
Registered: Feb 2004
Distribution: fedora 10
Posts: 73

Original Poster
Rep: Reputation: 15
Something very bad happened lastnight.. here's my story..

I tried apt-get and aptitude both... (never used aptitude before, it was nice to work with, very intuitive interface) and I kept getting errors that xsrerver-xorg could not use /usr/X11R6/bin. I'm sorry I don't have the exact error message with me now.. but eventually, after fixing numerous dependancy issues (not surprising really, considering how long it's been since I did an upgrade) I got an error message stating that xprt is also using /usr/X11R6/bin.

Ahhh.. the key at last! So I loaded up aptitude and found xprt and removed it. After that xserver-xorg was able to install. *whew*

The second part of the story....
But of course, all those dependancy issues that I had fixed.. well.. I ended up removing a large portion of my system's software.. no biggie I suppose, I can just reinstall those packages.. and so I did. I reinstalled KDE.. the whole kit 'n kiboodle.. everything that is KDE. Then I rebooted, (saw a message that xdm could not be found) and I ran startx. X loaded just fine, I saw the KDE splash screen, heard my startup .wav, and my background image was still there. yay! it seemed that KDE still had all of my settings. umm.. but wait! where's my KDE panel? All I see is the desktop, but no task bar!! Yikes!! My menus are gone, my task bar is gone...

So that's when I decided to call it a night and do some research.. I'm thinking that somehow the task bar portion of KDE didn't get installed, or it is crashing without displaying any error messages.

If anyone can throw some google results my way I'd be very appreciative.. in the mean time I'll do some googling myself and see what I come up with.

Jim
 
Old 10-06-2006, 11:55 AM   #6
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 60
Before you used Aptitude to update for the first time, you should have run "aptitude keep-all" ... Don't mix apt-get and aptitude. Use one or the other exclusively.

With Gnome, you get the panel back by reinstalling gnome-panel. I assume there is something equivalent in KDE.

...and get over the panic with upgrades. You should do "aptitude upgrade" at keast once a week if for no other reason than to pick up the security updates. Unless your box is a critical server or production system, you should probably do "aptitude dist-upgrade every week. That'll save you the grief of massive changes.

Last edited by rickh; 10-06-2006 at 11:59 AM.
 
Old 10-06-2006, 12:20 PM   #7
xucaen
Member
 
Registered: Feb 2004
Distribution: fedora 10
Posts: 73

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by JackieBrown
Depends where you are starting from. It's not like it will remove packages without telling you.
I think I just figured out my misunderstanding..

Years ago, I installed Stable (potato I think). At some point I wanted to upgrade to the Testing platform, I think back then it was Woody. So I pointed my sources to testing, and did a dist-upgrade. After fixing all the upgrade problems, I found my self with a very stable and pleasant testing version of Debian.
Over the years, Woody became the new Stable, and something else became the new testing (was that Sid?) I still pointed my sources to testing, and I only ever did upgrade, no more dist-upgrade.
Now here we are with Etch being the new testing, and I am still running my hybrid Woody/Sid system, still pointing my sources to testing.

A while back I stopped doing upgrades, and just kept using the software I was using. Whenever I needed some new software, I do apt-get update, then apt-get install package-name. apt-get would always install dependencies and I never had any problems.

Yesterday I wanted to install xmms, and apt-get wanted to install xorg and remove xserver-xfree86. That's when started my research into what's involved, and prompted these postings of mine.

I have known that x.org was going to be debian's new X system for a while now but I never installed it.. After some reading on the web, I figured all that I had to do to install x.org was apt-get upgrade. Then when that didn't didn't work I thought that maybe because of the state of my system I was going to have to do a dist-upgrade.. logically it is a new distro I am upgrading to.. from my Woody/Sid hybrid to a full-blown Etch system.


Jim
 
Old 10-06-2006, 12:38 PM   #8
xucaen
Member
 
Registered: Feb 2004
Distribution: fedora 10
Posts: 73

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by rickh
Before you used Aptitude to update for the first time, you should have run "aptitude keep-all" ... Don't mix apt-get and aptitude. Use one or the other exclusively.
Hi,
When I couldn't resolve the issues with apt-get, I ran aptitude and played around with that figuring out how it works. I read the man pages and it seemed easy enough. After a while I was able to clear up the dependency issues, by either removing software or adding software.
I thought aptitude was a front-end that used apt-get behind the scenes. Is this not the case?

Quote:
Originally Posted by rickh
With Gnome, you get the panel back by reinstalling gnome-panel. I assume there is something equivalent in KDE.
I am certain that is the case. I am curious as to why it wasn't installed when I selected all KDE packages from within aptitude. More than likely something I did wrong or out of sequence.

Quote:
Originally Posted by rickh
...and get over the panic with upgrades. You should do "aptitude upgrade" at keast once a week if for no other reason than to pick up the security updates. Unless your box is a critical server or production system, you should probably do "aptitude dist-upgrade every week. That'll save you the grief of massive changes.

I'm afraid!! I'm afraid!! But I hear you. When something works I tend to just leave it as-is. I'm only use my PC to do some programming, writing, internet, nothing critical. I'll try to keep up with my upgrades from now on, because doing a one big huge upgrade just isn't working out for me.

Jim
 
Old 10-07-2006, 02:33 PM   #9
PingFloyd
Member
 
Registered: Jun 2006
Posts: 94

Rep: Reputation: 16
About gnome-panel:

A long time ago I once removed all of my panels. Don't ask me how, because gnome will try to prevent you from removing your last panel. Somehow I accidentally figured out a way and realized it was a mistake (you sort of run into the chicken before the egg syndrome since you need to a panel to right-click on to bring up the menu to add a panel. Actually there's other ways probably that I wasn't aware of at the time.). Iirc, all I ended up doing to get a panel back was type gnome-panel from a terminal. Luckily at that point I could just right-click the root window and had the option to launch gnome-terminal.

The reason I had gotten rid of all of the panels was because every time I would start up gnome all the panel applets would die unexpectedly and it would prompt me to restart it. The easiest fix is to just remove all the panel applets and add back whatever you want to the panel. All the panels got removed by accident when I was trying to figure out a fix to weird behavior of the panel applets crashing. close all other panels except for leaving one since gnome complains. It may not be necessary to remove any actual panels though. I would do it just for the sake of completeness and didn't bother to ever check if it was ever necessary or not to get it to act right.

So you might try to see if you can do something equivilent to that with KDE (execute the binary that is KDE's panel from command line).
 
Old 10-07-2006, 02:56 PM   #10
xucaen
Member
 
Registered: Feb 2004
Distribution: fedora 10
Posts: 73

Original Poster
Rep: Reputation: 15
why my kicker panel was missing

I just wanted to post a follow up on an issue I was having.. The kde kicker panel was missing after my upgrade. I know that the problem was caused by something in my kickerrc file, but I don't know the exact line that caused kicker to fail to load. Here's what I did to fix the issue:

I renamed my kickerrc file to kickerrc.backup. Then I logged out and re-loaded X. When kde came back up it gave me a default kicker panel and created a new default kickerrc. I then edited both kickerrc and my kickerrc.backup each in separate vim sessions. Looking at the two files there were many differences. I took only my custom buttons and applet sections and copied them into the new kickerrc. I also updated the General section in kickerrc with my custom settings from kickerrc.backup. This was alot easier than running the configure panel program and trying to remember what my settings were. So, once I was don't editing, I saved kickerrc and logged out. After bringing X back up my panel was just (almost) like it was before. My menus, buttons and applets are all there.

Jim
 
Old 10-09-2006, 04:21 PM   #11
xucaen
Member
 
Registered: Feb 2004
Distribution: fedora 10
Posts: 73

Original Poster
Rep: Reputation: 15
misnomer

I just wanted to add this edit, though it probably makes no difference. Above I mentiond I was running a Woody/Sid hybrid. I used the wrong name. I meant Woody/Sarge. Please correct me if I am wrong, Sid is the current Unstable version.

Jim
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ran yum upgrade, now cannot boot billquinn Linux - General 1 12-03-2005 01:33 PM
Ran out of disk space during upgrade - broke system DyeKid Slackware 7 08-22-2005 09:12 PM
Ran Swaret upgrade and lost sound Frank_Drebin Slackware 25 05-14-2004 09:38 AM
when booting zipslack ran out of input data --system halted ph0b0s2 Slackware 2 10-15-2003 08:25 PM
file system ran away cinders Linux - General 1 08-16-2002 04:13 PM


All times are GMT -5. The time now is 12:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration