LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   update install applics on Ubuntu 8.04LTS without Internet conn. (https://www.linuxquestions.org/questions/linux-newbie-8/update-install-applics-on-ubuntu-8-04lts-without-internet-conn-679715/)

Ye Myint 10-29-2008 03:28 AM

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.

brianL 10-29-2008 04:30 AM

It might be better if you had the sharedebs directory in your home directory, not in /root.

Ye Myint 10-29-2008 05:46 AM

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.

pinniped 10-29-2008 06:56 AM

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.

Duck2006 10-29-2008 07:05 AM

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


All times are GMT -5. The time now is 06:11 AM.