Author Topic: Debian Screws Apt, What Am I Doing Wrong?  (Read 8754 times)

arzgi

  • Newbie
  • *
  • Posts: 47
    • View Profile
Debian Screws Apt, What Am I Doing Wrong?
« on: September 07, 2009, 11:59:25 am »
I tried Zdevil's debian-rootfs (eabi) first. Installed fine to my SL-C3100,
but soon after installing a few debs from official mirror, dependency
problems made apt so broken that I could not install anything more.
First time ever I used sid, I've been running stable Debians on my
desktop pc's for years. I thought, it was just unstable sid.

So tried titchy, then oabi kernels, but they all led to the same
result. Errors that apt gives all usually something like "chown:changing
ownership of file n\465\235 [or any arbitary x\nnn\nnn]: No such file
or directory". Funny thing is, when I execute post-install script of
problematic .deb line by line, works then like it should.

Thought microdrive was dying, changed to cf-card. Did not help.
Next thought, Z's "hd-driver-chip" is corrupted, Bought another
used SL-C3100, but I'm still where I started.

I really cant get it, what causes this? Any hint appreciated.
SL-C3100 (x 2), Debian Squeeze Armel, D-Link DCF-660W, Planex GW-CF11x and AmbiCom WL54-CF cf-wlans ,
Buffalo LPC-CF-CLT cf-lan, Pretec cf-modem, Billionton CF GPS, a few CF- and SD-memory cards

axeTail

  • Jr. Member
  • **
  • Posts: 75
    • View Profile
Debian Screws Apt, What Am I Doing Wrong?
« Reply #1 on: September 08, 2009, 03:26:34 am »
Try use yonggun's image.....it works well.

maemorandum

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
    • http://
Debian Screws Apt, What Am I Doing Wrong?
« Reply #2 on: September 08, 2009, 04:14:53 pm »
Quote from: arzgi
I tried Zdevil's debian-rootfs (eabi) first. Installed fine to my SL-C3100,
but soon after installing a few debs from official mirror, dependency
problems made apt so broken that I could not install anything more.
First time ever I used sid, I've been running stable Debians on my
desktop pc's for years. I thought, it was just unstable sid.

So tried titchy, then oabi kernels, but they all led to the same
result. Errors that apt gives all usually something like "chown:changing
ownership of file n\465\235 [or any arbitary x\nnn\nnn]: No such file
or directory". Funny thing is, when I execute post-install script of
problematic .deb line by line, works then like it should.

Thought microdrive was dying, changed to cf-card. Did not help.
Next thought, Z's "hd-driver-chip" is corrupted, Bought another
used SL-C3100, but I'm still where I started.

I really cant get it, what causes this? Any hint appreciated.

My personal experience in using the actual debian repositories is, that they update their debs too often without controlling the dependencies. Another problem ist, that they daywise kick out the security holes and simply delete applications.
I may be wrong but my solution for avoiding any dependency and installing problems is not to use the actual mirror than better to use only one of the timefixed debian snapshot repository. Mine is dated to April 2008.
SL-C3200 with opened 2nd CF-Slot, Debian EABI 2.6.23.9-yonggun on 2 GB High-Speed-CF
SL-C1000, Cacko-ROM

ASUS WL-110, hacked with external SMA Antenna Jack
AmbiComWL 1100C-CF, Buffalo Airstation-CF

arzgi

  • Newbie
  • *
  • Posts: 47
    • View Profile
Debian Screws Apt, What Am I Doing Wrong?
« Reply #3 on: September 09, 2009, 12:21:49 pm »
Quote
My personal experience in using the actual debian repositories is, that they update their debs too often without controlling the dependencies. Another problem ist, that they daywise kick out the security holes and simply delete applications.
I may be wrong but my solution for avoiding any dependency and installing problems is not to use the actual mirror than better to use only one of the timefixed debian snapshot repository. Mine is dated to April 2008.

My personal experience, using stable debian is, that there never has been any dependency problem. And actually
these dependency problems were just result of local installation errors. As I said, running post init script manually
did not cause any error.

Last case, tried to dist-upgrade etch to lenny, and bash refused to install, then x11-common, and after that soon
I could not install anything, frustrating. Thanks for your toughts! Maybe I soon must change distro, to my big
dissapointment. (Sorry for quoting wrongly maemorandun, long day behind, I really need to go to bed _soon_  )
SL-C3100 (x 2), Debian Squeeze Armel, D-Link DCF-660W, Planex GW-CF11x and AmbiCom WL54-CF cf-wlans ,
Buffalo LPC-CF-CLT cf-lan, Pretec cf-modem, Billionton CF GPS, a few CF- and SD-memory cards

arzgi

  • Newbie
  • *
  • Posts: 47
    • View Profile
Debian Screws Apt, What Am I Doing Wrong?
« Reply #4 on: September 09, 2009, 12:25:30 pm »
Quote from: axeTail
Try use yonggun's image.....it works well.
I used yonggun's image with Zdevil's rootfs, even changed to earlier version.
Problem started occurring with these images. Hard to believe to Z's I have
both have same physical error, but for now, that's all that comes to my mind.

Thanks anyway axetail!
SL-C3100 (x 2), Debian Squeeze Armel, D-Link DCF-660W, Planex GW-CF11x and AmbiCom WL54-CF cf-wlans ,
Buffalo LPC-CF-CLT cf-lan, Pretec cf-modem, Billionton CF GPS, a few CF- and SD-memory cards

maemorandum

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
    • http://
Debian Screws Apt, What Am I Doing Wrong?
« Reply #5 on: September 10, 2009, 08:52:28 am »
Quote from: arzgi
My personal experience, using stable debian is, that there never has been any dependency problem. And actually
these dependency problems were just result of local installation errors. As I said, running post init script manually
did not cause any error.

Yes, you are a lucky man (if you don“t need those wicd, aircrack-ng, ettercap-ng, ifconfig, hostapd, xmms1, yelp, iceweasel, kexec)
 
SL-C3200 with opened 2nd CF-Slot, Debian EABI 2.6.23.9-yonggun on 2 GB High-Speed-CF
SL-C1000, Cacko-ROM

ASUS WL-110, hacked with external SMA Antenna Jack
AmbiComWL 1100C-CF, Buffalo Airstation-CF

pelrun

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
Debian Screws Apt, What Am I Doing Wrong?
« Reply #6 on: September 14, 2009, 04:58:00 am »
I suggest checking that your partitioning setup is correct - it's possible to make it so that multiple partitions partially overlap each other or extend past the actual size of the device, which can cause all sorts of intermittent and cumulative problems.
« Last Edit: September 14, 2009, 04:58:21 am by pelrun »
SL-C3100 with usb power mod running debian eabi
pdaXii13 still on the NAND for dualbooting
16GB SDHC! (a new one, after I sat on the old one and it went kaput)
D-Link 660 wifi, Socket Bluetooth rev H
External 9800mAh LiIon battery and slimline dvd drive
Homebrew microphone and remote

arzgi

  • Newbie
  • *
  • Posts: 47
    • View Profile
Debian Screws Apt, What Am I Doing Wrong?
« Reply #7 on: September 20, 2009, 11:10:31 am »
Quote from: pelrun
I suggest checking that your partitioning setup is correct - it's possible to make it so that multiple partitions partially overlap each other or extend past the actual size of the device, which can cause all sorts of intermittent and cumulative problems.

Thanks pelrun! Did that, everything ok there. So I once again started from scratch, made and formatted partitions,
Then flashed http://www.bigbridgezau.sakura.ne.jp/dev/debian kernel 2.6.20 and installed rootfs. At this point,
etch on my Z runs fine. Cron must be started manually. When I upgrade to lenny, all other debs got installed
fine, cron is stopped and restared during update a few times, no problem there. But dpkg can not install lenny's
cron. Seems that post install script's chgrp is the problem. Or chgrp does not work, because cron is not working.
And that makes system quite unusable.

Blah, tricky one. Perhaps next time I'll bang my head to wall with eabi kernel and oabi system.
SL-C3100 (x 2), Debian Squeeze Armel, D-Link DCF-660W, Planex GW-CF11x and AmbiCom WL54-CF cf-wlans ,
Buffalo LPC-CF-CLT cf-lan, Pretec cf-modem, Billionton CF GPS, a few CF- and SD-memory cards

Wildherb

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
Debian Screws Apt, What Am I Doing Wrong?
« Reply #8 on: December 28, 2009, 06:57:11 pm »
Quote from: arzgi
Quote from: pelrun
I suggest checking that your partitioning setup is correct - it's possible to make it so that multiple partitions partially overlap each other or extend past the actual size of the device, which can cause all sorts of intermittent and cumulative problems.

Thanks pelrun! Did that, everything ok there. So I once again started from scratch, made and formatted partitions,
Then flashed http://www.bigbridgezau.sakura.ne.jp/dev/debian kernel 2.6.20 and installed rootfs. At this point,
etch on my Z runs fine. Cron must be started manually. When I upgrade to lenny, all other debs got installed
fine, cron is stopped and restared during update a few times, no problem there. But dpkg can not install lenny's
cron. Seems that post install script's chgrp is the problem. Or chgrp does not work, because cron is not working.
And that makes system quite unusable.

Blah, tricky one. Perhaps next time I'll bang my head to wall with eabi kernel and oabi system.

Since I bought an N810 I've not dabbled much with my Zauruses, however there are still occasions where they ust can't be beaten so I'm planning on keepng them!!!.

I recently had exactly this experience when converting my C3100 back from a very good OZ build to Zdevil's Debian. At first, apt-get and aptitude were just broken and several builds just died. However, after a bit of googling and tinkering I did get a working system. Sadly, I did not record a step-by-step guide to getting out of jail, but here are a few pointers which might help you.  I believe that this is not a problem unique to Zauruses, so use google - it is your friend.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=515830

1. set yout sources.list file to this - it is an older version which seems to help you get a foothold:
deb http://debian.logiclinux.com/debian lenny main contrib non-free

2. Always use aptitude rather than apt-get. It seems more reliable. Start with aptitude update then aptitude install aptitude. If this works then you stand a fighting chance.

3. I then installed the apps I wanted, watching the various packages getting updates as I went. If the package does not exist then add this to your sources.list and run another aptitude update
deb http://ftp.debian.org/debian lenny main contrib non-free

OK. So most things now work fine, but it is not 100%. Things like python are just too old. I might try an aptitude safe-upgrade otherwise it is a rebuild using yongun's rootfs for me now.  I'll let you know how I get on.
C3000 running OpenBSD 4.4
C3100 running OpenZaurus