UberStudent Forums

Help and Community for Users of Uberstudent
Return to UberStudent Home Page
It is currently Tue Oct 23, 2018 11:20 am

All times are UTC

UberStudent Logo Shirt
Hey! You can wear this UberCool UberStudent Logo Shirt

Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Offline repository
PostPosted: Fri Jun 14, 2013 1:04 pm 

I currently have to use my local library to go online but would like to update and maintain my desktop at home. I have a very old laptop running XP which I can use to download on to (when it's not dropping into BSOD) but it has no DVD drive and cannot boot from USB so I cannot install Linux.

What I would like to do is download a copy of the UberStudent 3 repository on to the laptop and then transfer it to the desktop as a working offline repository.

I have used aptoncd in the past for other flavours of Linux but due to the time it takes to sort out all of the dependencies and the limited size available I would rather have a more reliable means of installing and updating software.

Does anyone have any suggestions?

Thanks in advance.

Michael Mannall

 Post subject: Re: Offline repository
PostPosted: Sat Jun 15, 2013 1:20 am 
Hi Michael,

There are several tools to create mirrors and partial mirrors of repositories. I've never actually used one but I'll have a dig around for you. From memory apt-zip is another tool especially made for keeping an offline machine up to date. There are others too. Again I'll dig around.

Good Luck

 Post subject: Re: Offline repository
PostPosted: Sat Jun 15, 2013 1:35 am 
You need to use command line tools but I think apt-offline would be just the thing for you.

See http://www.debian-administration.org/article/Offline_Package_Management_for_APT

Notice you can download your upgrades to a Windows machine provided that it has python installed. Then you take the produced zip file to your Uberstudent offline machine and install the upgrades there.

 Post subject: Re: Offline repository
PostPosted: Sat Jun 15, 2013 2:12 am 
It turns out that apt-offline has a gui interface. You download the latest zip from http://alioth.debian.org/frs/download.php/latestzip/959/apt-offline-latest.zip unzip it and run it. Cool eh?

First you run it on your Uberstudent to gather what programs it uses, then take the program and the generated file to the connected machine, unzip and run the program.

 Post subject: Re: Offline repository
PostPosted: Sat Jun 15, 2013 3:18 am 
On the command line you do something like this:

Uberstudent machine type:
apt-offline set uberstudent_files.txt --update --upgrade --install new_package
(the txt file is what is produced listing all your programs)

Windows or Mac connected machine:
apt-offline get uberstudent_files.txt --download-dir C:\users\me\Desktop\apt
(this creates a zip file uberstudent.zip or something)

Uberstudent machine type:
apt-offline install uberstudent.zip

and that should be you. If the new package has any dependencies these will be downloaded also.

Hope this works as I've not done it myself. I might try tomorrow.

 Post subject: Re: Offline repository
PostPosted: Sat Jun 15, 2013 11:28 am 
Thanks Maurice

I'll try out your suggestions over the next few days and see how it goes.

 Post subject: Re: Offline repository
PostPosted: Sat Jun 15, 2013 10:29 pm 
I just tried apt-offline. It created or 'set' the fetch file for me on uberstudent but I could not get it to work to download on Windows 7. It's a bit cloudy as to why but I think the maintainer only making an effort to keep it on working on a linux download. It still ought to work mind. He actually wrote it for folk living in the Himalayas who have no internet access.

On windows I think you do need Python 2.6 as opposed to the current 2.7 or 3.3.

I also sold you a wrong 'un with the commands. They are simpler than I thought

apt-offline set uber.sig
apt-offline get uber.sig
apt-offline install ...

 Post subject: Re: Offline repository
PostPosted: Thu Jun 20, 2013 1:46 pm 
Hi Maurice

Thanks for the help.

I've been given an old laptop (but better than the one I had) which now has US3 on it.

If I switch the desktop back to 32-bit then it will be relatively easy to keep the two updated until I have a little bit more free time to create the repository.

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

Click Here to Get Inexpensive UberStudent Discs

Click here to get UberStudent discs delivered to your mailbox
Delivered Directly to Your Mailbox!

All times are UTC

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group