Hello everyone,
I recently made my transition from windows, having now 2 workstations running ubuntu 6.10 at home.
To avoid any bandwidth waste, I set up a local repository with 3 folders, so my old laptop won't take forever while generating Packages.gz.
I edited /etc/apt/sources.list and added:
deb file:/media/repository/a ./
deb file:/media/repository/b ./
deb file:/media/repository/c ./
(in case you're asking why /media/repository : It's actually a smb mount as the files reside in a windows desktop my laptop has a scarce 10gb drive)
When I try to install a package all goes well, as long as I don't have any external repositories in the /etc/apt/sources.list.
The problem is, when I add the standard ubuntu repos, apt-get/synaptic will always download and install from Ubuntu online repositories, even when the required packages exist locally.
I searched online and found some references to "pinning" but I don't know how to prioritize the repositories to fix my needs.
Any help would me more than welcome.
Thank you.



Adv Reply



Bookmarks