Author Topic: Apt-get Dist-upgrade Troubles  (Read 3533 times)

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Apt-get Dist-upgrade Troubles
« on: November 12, 2007, 10:03:29 am »
just did and apt-get dist-upgrade today :

x11-common updated

and so, X doesn't want to start as $USER

so i'd to do the fluck's tip again (see the wiki)


and now my icewm has been replaced by matchbox ( i think)

here's my screen just before the reboot (with icewm active).
i'll post the after-reboot screen later
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Apt-get Dist-upgrade Troubles
« Reply #1 on: November 12, 2007, 11:07:08 am »
well,

here is my after-reboot screenshot...

am I under Debian or Ubuntu ? lol

and it seems my keyboard is working strangely now : no /, no arrows.....
i've to look for...
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

tux

  • Sr. Member
  • ****
  • Posts: 438
    • View Profile
    • http://
Apt-get Dist-upgrade Troubles
« Reply #2 on: November 12, 2007, 01:21:37 pm »
Quote from: jpmatrix
well,

here is my after-reboot screenshot...

am I under Debian or Ubuntu ? lol

and it seems my keyboard is working strangely now : no /, no arrows.....
i've to look for...
 It's easy to get rid of the icons in TitchyLinux. Just play with desktop settings. It may be harder with icewm or matchbox or whatever you have landed in!  

I did a recent dist-upgrade on Titchy and those icons appeared on the desktop there also. I didn't want them so i looked at the desktop settings through the menu and got rid of them. If you mount the devices the icons let you access them by double-clicking, but I didn't want the desktop cluttered.

I'm with the original Titchy at the moment because I have very little time to experiment with EABI. I notice all sorts of hassles are turning up! Sounds like fun: I'll join in, in a week or so!  

cheers  
3200 aka BigZ, swapped in 16GB Sandisk Extreme III CF, Cacko 1.23 full,  new SDHC >2GB module,
SL860 Cacko 1.23 full, new SDHC >2GB module,
6000L SharpRom 1.12 + Tetsu kernel,
5500 TKC home on SD x 2 (with SD>1GB),
Archos PMA30 with OPEN PMA (Giraffe),
Nokia 770 (Hackers Edition)
Nokia 800 (ITOS 2008), 4GB SDHC x 2
Asus eeepc 4G (black), with 1GB ram, dual boot Xandros on SSD with Ubuntu Lucid Lynx on 16 GB SDHC,
Tmobile G1 Android (black), with Cyanogen's  Firerat's MTD script and Amon Ra Recovery 1.7.0
Tmobile HTC Wildfire.. rooted and on Cyanogen's 7.3 nightly Rom
Kopi/Kapi on everything bar the phone and the Nokias, there is a beta for the nokias...

All the above are retired

Samsung Note 8 N5110
Samsung Note N7105
FBreader on the lot!

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Apt-get Dist-upgrade Troubles
« Reply #3 on: November 15, 2007, 01:00:42 am »
it seems our gtk2.0 are about to be resolved. it should be possible now to apt-get install it;
i've just read that from the debian-arm mailing list :


Code: [Select]
From: Riku Voipio
Cc: debian-arm@lists.debian.org
Sent: 14.11.'07,  12:45

On Wed, Nov 14, 2007 at 08:14:27AM +0200, Eugene San wrote:
>    I was trying to install GTK2 on my armel box and it's failed due to
>    version inconsistency of armel and all-arch packages in repository:

>    It seems that only armel packages were uploaded to the repository after
>    last build while all-arch packages are outdated.
>    I am not aware about other builds but i suspect it's not the only case.

Arch: all packages are not built on buildd's. It allows buildd's to
skip building arch-generic stuff like documentation. Also it saves disk
space on mirrors. The drawback is that for unstable occasionally the
arch-any and arch-all packages or out of sync. This one of the reasons
we are preparing a snapshot release of armel repository.

Usually such unsyncs are not a big problem since

1) most packages do not want the exact same version of their arch:all
package
2) usually the arch-all and buildd builds happen very close to each
others and being in out-sync gets resolved in a day.

gtk+2.0 is one of the prominent packages where 1) is not true, and 2)
became a problem since ftp-master.debian.org was down. A smarter sync
script (please contribute..) would help in the more typical case wher
the buildd upload is lagging compared to official debian maintainer
upload, but in this case the official debian maintainer upload was
no longer available anywhere when ftp-master broke..

>    Could someone please check that issue or at least upload missing files
>    somewhere?

It has now been synced:

[url="http://ftp.gnuab.org/debian/pool/main/g/gtk+2.0/"]http://ftp.gnuab.org/debian/pool/main/g/gtk+2.0/[/url]
« Last Edit: November 15, 2007, 01:01:16 am by jpmatrix »
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Apt-get Dist-upgrade Troubles
« Reply #4 on: November 15, 2007, 07:04:24 am »
i've just changed my sources.list to point to http://ftp.gnuab.org/debian/
and apt-get dist-upgrade :
lots of new packages (47 MB) are being installed or upgraded (including libgtk2.0-0)
i'll let you know about it in some minutes
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Apt-get Dist-upgrade Troubles
« Reply #5 on: November 15, 2007, 04:18:14 pm »
well well, i'm back to the bussiness  

after my apt-get dist-upgrade, i had lots of trouble with keyboard (thanks flux!), touchscreen and windowmanager...
in fact last apt-get installed gnome-session and lwm...so i had to tweak a little to have my icewm come back
strangely i had permission problems too on /dev/input/event1 ... i chowned staff it and it seems to work again...

my brother has just installed iceape (i didn't know about it) on his PC desktop debian 4.0 ; let's try to install it on the Zaurus !!
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Apt-get Dist-upgrade Troubles
« Reply #6 on: November 15, 2007, 05:45:10 pm »
another apt-get upgrade
and i lost my run_X_as $USER link  but it's easy to have it back

well it seems apt-get (dist)upgrade are kinda dangerous for our handmade zaurus debian version ...

perhaps we (someone) should write some after-upgrade script...
« Last Edit: November 15, 2007, 05:45:33 pm by jpmatrix »
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

flux

  • Full Member
  • ***
  • Posts: 104
    • View Profile
Apt-get Dist-upgrade Troubles
« Reply #7 on: November 15, 2007, 10:38:11 pm »
@jpmatrix   :  you're welcome   for the keyboard...

 @all :

 i'll explain the trick right now for others... :
in fact, this is a keyboard under X related problem.

 before all (apt-get (dist)upgrade), you run in your shell :

 xmodmap -pke >> keymap-debian-X

 and the day you have X-keyboard related problems, just run the cmd :

 xmodmap keymap-debian-X


 of course, you're allowed to edit this file, and shape the keyboard at your feelings... as it, you may create differents keymap you can easily load with the cmd :
     xmodmap keymap-my_keymap_of_moment

flux

  • Full Member
  • ***
  • Posts: 104
    • View Profile
Apt-get Dist-upgrade Troubles
« Reply #8 on: November 16, 2007, 02:02:35 am »
@jpmatrix...

 here an after-upgrade script...

 #!/bin/sh

 cd /usr/bin
 if [ ! -L X ] ; then
    mv X X.OLD
   ln -s Xfbdev X
   chmod 2755 Xfbdev
 fi

++

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Apt-get Dist-upgrade Troubles
« Reply #9 on: November 16, 2007, 07:28:02 am »
Quote from: flux
@jpmatrix...

 here an after-upgrade script...

 #!/bin/sh

 cd /usr/bin
 if [ ! -L X ] ; then
    mv X X.OLD
   ln -s Xfbdev X
   chmod 2755 Xfbdev
 fi

++


ok merci!
to be tested next update
i'll add it to the wiki
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

flux

  • Full Member
  • ***
  • Posts: 104
    • View Profile
Apt-get Dist-upgrade Troubles
« Reply #10 on: November 16, 2007, 11:39:50 am »
already added, just before i put it there.

dlj0

  • Full Member
  • ***
  • Posts: 218
    • View Profile
Apt-get Dist-upgrade Troubles
« Reply #11 on: November 19, 2007, 01:39:44 pm »
I have a different apt-get dist-upgrade problem.  When I do

apt-get update
apt-get dist-upgrade

apt wants to remove many of my packages, including texlive, the gnomish stuff, etc.  I guess it is because of one or the other of my sources being messed up.  Which one(s) do people recommend, or which should I avoid?  I think I have

gnuab
gatech
that Belgian site

and the last one includes the unreleased section.  

So, what sites are good?  I can install individual packages, but not the distribution.
Zaurus:  SL C3100
ROM:  eabi debian/sid

flux

  • Full Member
  • ***
  • Posts: 104
    • View Profile
Apt-get Dist-upgrade Troubles
« Reply #12 on: November 19, 2007, 02:53:54 pm »
Usually, you make    apt-get dist-upgrade just once... when you "dist upgrade", from etch to sid for example.

 after, you just :  apt-get update ; apt-get upgrade

 like this, not ALL pkg are upgade, just the ones that won't totally messed up your system. this way, some pkg are left non-upgraaded for a while. they'll be upgrade one day...
 if you just have too many stuff in the state "waiting to upgrade", you can sometimes launch the apt-get dist-upgrade, to upgrade all... with all risks.

dlj0

  • Full Member
  • ***
  • Posts: 218
    • View Profile
Apt-get Dist-upgrade Troubles
« Reply #13 on: November 20, 2007, 12:10:34 am »
Quote from: flux
Usually, you make    apt-get dist-upgrade just once... when you "dist upgrade", from etch to sid for example.

 after, you just :  apt-get update ; apt-get upgrade

 like this, not ALL pkg are upgade, just the ones that won't totally messed up your system. this way, some pkg are left non-upgraaded for a while. they'll be upgrade one day...
 if you just have too many stuff in the state "waiting to upgrade", you can sometimes launch the apt-get dist-upgrade, to upgrade all... with all risks.

Huh.  I always did it the other way, before, with no problem.  But you are right, doing an apt-get upgrade does not threaten me with removing 3/4 of my installed packages.  I guess since the dangers of fscking up the system are greater with sid than testing, this is a real difference.  I am now happily upgrading as we speak.
Zaurus:  SL C3100
ROM:  eabi debian/sid