![]() |
Help, I did something stupid... ( apt-get dist-upgrade )
Help! This is an 810 running diablo..... I'm afraid to reboot! What should I do?
Quote:
Is there a way to install what was removed using apt-get and the debs I have left in /var/cache/apt/archives ? |
Re: Help, I did something stupid... ( apt-get dist-upgrade )
Ah, just left you a reply in the other thread, as I didn't see this. Oh, and get that baby on a charger!
|
Re: Help, I did something stupid... ( apt-get dist-upgrade )
Thanks! So you said:
Quote:
I have gtar and I have a SSH shell, but no ls, cp, etc. I manageed to gtar up my archives and /home directories. How do I use apt-get to install a local .deb in my archives directory? Yes I have busybox in /mnt/initfs/bin but I can't seem to execute anything there. I'm also running this OS off of SD, so I suppose I *could* reboot to the flash OS, mount the SD OS and ah, I'm freaking out, can you or anyone give me a roadmap or have I fubar? |
Re: Help, I did something stupid... ( apt-get dist-upgrade )
Not looking good......
/var/cache/apt/archives# dpkg -i osso-connectivity-ui_1.5.47_all.deb dpkg-deb (subprocess): failed to exec tar: No such file or directory dpkg-deb: subprocess tar returned error exit status 2 dpkg: error processing osso-connectivity-ui_1.5.47_all.deb (--install): subprocess dpkg-deb --control returned error exit status 2 Errors were encountered while processing: osso-connectivity-ui_1.5.47_all.deb So how to I rename gtar to tar without cp or mv or cat, etc ? Some how dump it to stdio and back to the filesystem under a diffferent n ame? |
Re: Help, I did something stupid... ( apt-get dist-upgrade )
It's repairable, although not necessarily economical to do so.
One option (I hope you have chroot?) is to chroot /mnt/initfs (then that busybox works), (re)mount both the SD root and the flash root under the initfs, and proceed copying and linking merrily away... If you can't do that, and don't have cp, it gets to be a huge pain to continue working, and you might be better to reboot into flash -- somehow that doesn't feel safe, but I don't really see any reason it should be harder to repair from outside... If you want to keep working via ssh, you'll need to:
I don't know how up you are with busybox, but it normally plays the role given by the zeroth argument, i.e. whatever it was invoked as. So /bin/ln is actually a symlink to busybox. But if you invoke it as busybox, it will play the role given by the first argument, so once you get /bin/busybox in, you can do Code:
/bin/busybox ln -s busybox /bin/ln And I just checked -- mount and chroot are both busybox. I think you're going to have to boot to flash after all. :( |
Re: Help, I did something stupid... ( apt-get dist-upgrade )
Thanks a lot Benson, looks like fubar is the word of the day. I'll just gtar everything up onto my exteral SD card and re-flash/backup from scratch. What a mess. What a mess I made.
|
Re: Help, I did something stupid... ( apt-get dist-upgrade )
consider it a lesson, albeit a frustratingly irritating one.
next SSU, I'll bet you don't type "apt-get dist-upgrade" again. ;) |
Re: Help, I did something stupid... ( apt-get dist-upgrade )
Bet you're right! I had read I shouldn't run that command before, but I wasn't in the right mindset when I typed it in :-\
|
Re: Help, I did something stupid... ( apt-get dist-upgrade )
Quote:
|
Re: Help, I did something stupid... ( apt-get dist-upgrade )
So I've booted to my flash OS which I haven't touched in months. I'm updating it to get ready and clone to SD. While trying to update to 2008.30-2 I'm getting a installation packages missing: kernel-diablo-flasher (=2.6.21-200829maemo1) error. I think sliderotate messed this up. How do I revert back? Any tips?
edit: apt-get install kernel-diablo-flasher then apt-get remove kernel-diablo-flasher seems to have done the trick. What a nightmare sliderotate and ssu updates are for many of us! |
All times are GMT. The time now is 14:37. |
vBulletin® Version 3.8.8