Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-16-2008, 01:42 PM   #1
Registered: Jun 2008
Distribution: Ubuntu
Posts: 266

Rep: Reputation: 36
add usb repository to apt?

I'm currently running Debian Lenny. That computer is not connected to the internet. I'd like to use synaptic to install deb files and source files, which I'll download from another computer to a USB stick. However, I don't know how to add the proper line to sources.list to make this possible.

I have apt-cdrom and apt-zip, but they are both confusing to me. If I got good instructions, I could probably figure them out.

Thanks all!
Old 08-16-2008, 06:45 PM   #2
Senior Member
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
Just see /etc/apt/sources.list

It should be very similar to the cdrom one. Or see the apt manual in the debian site.

Better still dump the whole USB stuff into /var/cache/apt/archives
Old 08-16-2008, 08:19 PM   #3
Registered: Jun 2008
Distribution: Ubuntu
Posts: 266

Original Poster
Rep: Reputation: 36
I know about sources.list, I've tried several times but synaptic always crashes because of a "malformed line." How would I put it in sources.list as a folder, not a website?

I'll check the manual.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
apt repository error dneshsegar Red Hat 2 08-08-2008 01:28 AM
apt-get repository setup Mr.J Ubuntu 3 07-04-2008 06:50 AM
Create a apt Repository timgerrlists Debian 1 02-10-2006 09:26 AM
building an apt-get repository?? edfinegan Fedora 1 01-13-2005 01:50 PM
apt repository for kde 3.2? bosewicht Linux - Newbie 2 12-30-2003 11:01 PM

All times are GMT -5. The time now is 01:47 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration