- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- ubuntu linux set up local repository
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2010 04:48 PM
тАО03-18-2010 04:48 PM
ubuntu linux set up local repository
On another system that has an internet connection I downloaded all the files Release, Release.gpg, Content files for my architecture, Packages.bz2, Packages.gz, Release, etc. for main, restricted universe, for karmic, karmic-security, karmic-updates.I downloaded everything from ubuntu website repositories into parallel directory structure on USB hard drive, then mounted the USB drive in /mnt on the new karmic 9.10 server where I want to install. I added the appropriate stements in sources.list. Using either aptitude or apt-get update from the command line (there's no GUI, it's server edition), it looks like I successfully updated the package list. It now shows 27000+ uninstalled packages.
But I can't install anything from the repository. It always fails to find files in .../repository/pool/...
Of course, since I never created the directory .../repository/pool/. The instructions don't mention it. Can't find any documentation anywhere that says anything about the /pool/ directory. I could create the directory, but what is supposed to be in there?
Thanks for any help.
Here is output of apt-get install libc6-i386:
# apt-get install libc6-i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libc-bin libc6
Suggested packages:
glibc-doc
The following NEW packages will be installed:
libc6-i386
The following packages will be upgraded:
libc-bin libc6
2 upgraded, 1 newly installed, 0 to remove and 97 not upgraded.
Need to get 0B/8,661kB of archives.
After this operation, 9,392kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Err file: karmic-updates/main libc-bin 2.10.1-0ubuntu16
File not found
Err file: karmic-updates/main libc6 2.10.1-0ubuntu16
File not found
Err file: karmic-updates/main libc6-i386 2.10.1-0ubuntu16
File not found
Failed to fetch file:///mnt/Ubuntu/repository/pool/main/e/eglibc/libc-bin_2.10.1
-0ubuntu16_amd64.deb File not found
Failed to fetch file:///mnt/Ubuntu/repository/pool/main/e/eglibc/libc6_2.10.1-0u
buntu16_amd64.deb File not found
Failed to fetch file:///mnt/Ubuntu/repository/pool/main/e/eglibc/libc6-i386_2.10
.1-0ubuntu16_amd64.deb File not found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-mis
sing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2010 11:03 PM
тАО03-18-2010 11:03 PM
Re: ubuntu linux set up local repository
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2010 11:07 AM
тАО03-19-2010 11:07 AM
Re: ubuntu linux set up local repository
However, I will continue following up on some of those hints as far as possible, until and unless I can find something else more helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2010 10:46 AM
тАО03-21-2010 10:46 AM
Re: ubuntu linux set up local repository
The 'dists' directory just has lists of packages for various releases.
The 'pool' directory is very big. It may have many different releases and many different architectures.
You could carefully copy just the files referenced by the release and architecture you will use.
But it will still be very large because of packages that you won't want to use.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2010 10:03 AM
тАО03-23-2010 10:03 AM
Re: ubuntu linux set up local repository
Also, thanks again Michal, I missed your direction to the specific response in that thread from "izut".
With these two bits of information I'll have another go at getting what I need.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2010 02:20 PM
тАО03-23-2010 02:20 PM
Re: ubuntu linux set up local repository
- as mentioned in the original post, I started by following instructions (as much as possible) from: https://help.ubuntu.com/community/AptGet/Offline/Repository. Downloaded all the files Release, Release.gpg, Content files for my architecture, Packages.bz2, Packages.gz, Release, etc. for main, restricted universe, for karmic, karmic-security, karmic-updates, from ubuntu website repositories into parallel directory structure on USB hard drive, then mounted the USB drive in /mnt on the new karmic 9.10 server where I want to install. I added the appropriate statements in sources.list. Using either aptitude or apt-get update from the command line I updated the package list. But that was insufficient. Trying to install at that point it always failed to find files in .../repository/pool/...
- next, use apt-get install hp-health (the name of the proliant support pack), to find the (high level) names of the dependencies it needs. It still can't install at this point. Then for each dependency, use apt-get show -v pkg-name to find the (lower level) names of the actual .deb package files and the paths to them (in the appropriate pool subdir) on the ubuntu web site (file tree starting with http://archive.ubuntu.com/ubuntu/pool/ .
- Take the USB drive back to system with internet connection, download those appropriate bits onto parrallel structure on the USB drive.
- Take the USB drive back to the Ubuntu system. Then apt-get install hp-health was able to find all the dependencies on the USB drive and install them.
Maybe there is an easier way, but this worked.