OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Debian Screws Apt, What Am I Doing Wrong?
arzgi
post Sep 7 2009, 07:59 AM
Post #1





Group: Members
Posts: 47
Joined: 27-March 06
Member No.: 9,463



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.

Go to the top of the page
 
+Quote Post
axeTail
post Sep 7 2009, 11:26 PM
Post #2





Group: Members
Posts: 76
Joined: 14-December 07
Member No.: 21,073



Try use yonggun's image.....it works well.
Go to the top of the page
 
+Quote Post
maemorandum
post Sep 8 2009, 12:14 PM
Post #3





Group: Members
Posts: 57
Joined: 12-March 08
From: North Pole
Member No.: 21,496



QUOTE(arzgi @ Sep 7 2009, 05:59 PM) *
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.
Go to the top of the page
 
+Quote Post
arzgi
post Sep 9 2009, 08:21 AM
Post #4





Group: Members
Posts: 47
Joined: 27-March 06
Member No.: 9,463



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_ blink.gif)
Go to the top of the page
 
+Quote Post
arzgi
post Sep 9 2009, 08:25 AM
Post #5





Group: Members
Posts: 47
Joined: 27-March 06
Member No.: 9,463



QUOTE(axeTail @ Sep 8 2009, 10:26 AM) *
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!

Go to the top of the page
 
+Quote Post
maemorandum
post Sep 10 2009, 04:52 AM
Post #6





Group: Members
Posts: 57
Joined: 12-March 08
From: North Pole
Member No.: 21,496



QUOTE(arzgi @ Sep 9 2009, 06:21 PM) *
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)
smile.gif
Go to the top of the page
 
+Quote Post
pelrun
post Sep 14 2009, 12:58 AM
Post #7





Group: Members
Posts: 369
Joined: 6-September 04
From: Brisbane, Australia
Member No.: 4,488



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.
Go to the top of the page
 
+Quote Post
arzgi
post Sep 20 2009, 07:10 AM
Post #8





Group: Members
Posts: 47
Joined: 27-March 06
Member No.: 9,463



QUOTE(pelrun @ Sep 14 2009, 11:58 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.


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.
Go to the top of the page
 
+Quote Post
Wildherb
post Dec 28 2009, 03:57 PM
Post #9





Group: Members
Posts: 92
Joined: 9-January 06
Member No.: 8,887



QUOTE(arzgi @ Sep 20 2009, 04:10 PM) *
QUOTE(pelrun @ Sep 14 2009, 11:58 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.


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.



Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 19th December 2014 - 02:45 PM