[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Running apt*, help needed



Victor Nitu wrote the following on 12/04/2011 07:20 PM:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/05/2011 03:13 AM, Dennis Wicks wrote:
Hi all,

Is there any way to run apt or dpkg, etc. so I can install programs/pkgs
on a different system than I am running on?

I can't run anything on the other system right now, but I can mount the
disks on a machine that is running OK.

Many TIA!
Dennis



Questions first.
- - Is the broken system the same architecture as the running one?
- - Is the broken system a Debian installation?
- - Do you have fakeroot & other chroot utilities installed?

If is OK by now, you can mount the broken root partition on, let's say,
/mnt, then

# chroot /mnt

Mainly, this is the idea for accessing a broken system, after chroot
log you in the mounted installation, you can issue command as you would
on a working system.

Of course, you are more than welcome to google the problem a bit, since
my email is far from accurate or complete. I'm just taking you
somewhere, but you'll have to read the map :)

Hope this helps,

Victor

Victor,

Thanks for the info!

Both machines are nearly identical so that is not a problem. I have already gathered a lot of pieces of the solution and I hope that this is the final part of the solution!

Again, thanks for the help!
Dennis


Reply to: