LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-29-2008, 04:28 AM   #1
Ye Myint
LQ Newbie
 
Registered: Sep 2008
Posts: 24

Rep: Reputation: 15
Thumbs down update install applics on Ubuntu 8.04LTS without Internet conn.


I'm a real newbie to Ubuntu having experience for about a month with Ubuntu. i've installed ubuntu 8.04LTS from Live CD on my box which have no internet conn. I've been surfing various Linux/Ubuntu forums and came across to how-to thread to install update applics on Ubuntu without inet conn. I try what the thread said as follows.
(1) sudo apt-get -qq --print-uris update | awk -F\' '{print $2}' > get.lst
(2) Copy the get.lst file generated to my office computer which is booted by Live CD to ~/uym
(3) cd ~/uym and run wget -c -i get.lst
(4) copy all the downloaded deb files and put on my home computer with inet in the dir /root/sharedebs
(5) then on this machine i try
sudo dpkg-scanpackages sharedebs /dev/null|gzip > sharedebs/Packages.gz and get the reply
No permission for sharedebs/Packages.gz
dpkg-scanpackages no command found.

Pls guide me what i'm doing wrong or any suggestions.
 
Old 10-29-2008, 05:30 AM   #2
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
It might be better if you had the sharedebs directory in your home directory, not in /root.
 
Old 10-29-2008, 06:46 AM   #3
Ye Myint
LQ Newbie
 
Registered: Sep 2008
Posts: 24

Original Poster
Rep: Reputation: 15
Question update install applics on Ubuntu 8.04LTS without Inet

Thanks for yr reply. I now try to put my downloaded debs to ~/sharedebs folder of my home computer without Internet conn. sorry, in my first post i've left out the out in without Internet conn. then i try the command
sudo dpkg-scanpackages sharedebs /dev/null|gzip > sharedebs/Packages.gz.
I have the same replies which are
bash : sharedebs/Packages.gz = No such file or directory.
sudo : dpkg-scanpackages = command not found.
i then try man dpkg-scanpackages and got reply that no manual entry for dpkg-scanpackages.
i then try man dpkg -scanpackages and get the man for dpkg command with no explanation for scanpackages switch.
Pls help me for solution. Thanks in anticipation.
Regards.
 
Old 10-29-2008, 07:56 AM   #4
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
It sounds like 'dpkg-scanpackages' was not installed.
You can still install those files though, just using:

dpkg -i yourpackagename.deb

If there are many dependencies then you have a long list. If you're sure you want to install all of them:

dpkg -i /path/to/your/debs/directory/*.deb

Of course that bypasses whatever other package management software you may have.
 
Old 10-29-2008, 08:05 AM   #5
Duck2006
Member
 
Registered: Sep 2006
Distribution: Ubuntu 8.04 Hardy Heron LST
Posts: 346

Rep: Reputation: 33
http://ubuntuforums.org/showthread.p...ating+off+line
 
  


Reply


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
Help for wine installation on Ubuntu 8.04LTS Ye Myint Linux - Newbie 4 09-29-2008 05:48 AM
Ubuntu 8.04LTS + Samba (how to join active domain in Windows Server 2008) PatrickBEN Ubuntu 1 06-01-2008 07:32 AM
LXer: Install Applications in Ubuntu without Internet LXer Syndicated Linux News 0 05-13-2008 08:30 AM
Can't install, update or remove programs: Ubuntu 7.04 ogee Linux - Software 4 10-03-2007 07:58 PM
Internet conn using VMware annetteserrao Linux - Networking 21 01-04-2006 08:14 AM


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

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