Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,
I installed a new copy of ubuntu 17.04, i already had many deb packages of this ubuntu 17.04 in my external hard disk, i created a local repo in my home directory for this packages and added to the /etc/apt/sources.list:
Code:
deb file:/home/user/repo ./
Then run the apt-get update, and apt-get added the local repo to the cashe:
aptitude didn't use the local repo and downloading the same local packages from the online repos which are also included in the sources.list.
In the end of apt-get update also get this error message:
Code:
Fetched 71٫8 kB in 8min 35s (139 B/s)
Reading package lists... Done
W: The repository 'file:/home/user/repo ./ Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
What you received wasn't an error message, it was a warning message. If you want to authenticate the repo, see https://askubuntu.com/questions/1703...apt-repository ("Creating an Authenticated Repository" answer).
Just a point of note that apt (the package which provides apt-get) is not aptitude - they are two separate packages.
If you want to properly test the local repo, temporarily disable the online repos.
Comment out the online repos in /etc/apt/sources.list and /etc/apt/sources.list.d/*.list, or disable them through (I think, as I don't use Ubuntu) Ubuntu Software->Software & Updates.
Sometimes things get broken because linked information becomes unavailable. To avoid that, I replicate such contents (to replicate is to copy). And Ubuntu does not have good antecedents: it ceased existence of UbuntuOne service.
Sometimes things get broken because linked information becomes unavailable. To avoid that, I replicate such contents (to replicate is to copy). And Ubuntu does not have good antecedents: it ceased existence of UbuntuOne service.
Ah, I understand. The idea is that *you* read the page, you extract the information you want, you try a few things, and then when you find something that works, you come back on here and let us know what you did. I'm just pointing you in the general direction, I don't have the time to do all that for you, sorry.
hahahahaha I did not even read that page (yet). And I thought you pointed the askubuntu page knowing what is written there - and also knowing "how to create a local apt repository".
hahahahaha I did not even read that page (yet). And I thought you pointed the askubuntu page knowing what is written there - and also knowing "how to create a local apt repository".
Well, I did read the page and made a judgement that it contained the info that would be required to create a signed local repository, or at least get you started along the right path. But no, I've never done so myself.
It's something that I imagine a great number of people have done, so there should be a lot of information about it on the internet.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.