You are not logged in.
I use apt-mirror, to mirror repository locally.
Unfortunately, the software is a little buggy, not properly maintained, lacks maintainer.
It is often the repo becomes inconsistent. For example, I often get html pages in response to communication problems.
In postmirror.sh I have added a row to list all html pages:
grep -irl -e "<! DOCTYPE html" /data/apt-mirror /mirror >> /data/apt-mirror/var/cron.log
Copies from the log and makes a cleanup script.
It takes a long time and requires manual work.
I wish a script based on "file" (or somethin alike), both moving html files to /data/apt-mirror/error and listing the moves in the log.
I've looked at alternatives to apt-mirror, for example aptly,but put it aside for now...
Last edited by rbh (2020-01-23 20:23:42)
// Regards rbh
Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu
Offline
So is this a help request for a script? If so, it needs to be in a different forum section:
Scripts, Tutorials & Tips
A place to share tips, guides, application configurations and scripts.
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
So is this a help request for a script?
Yes.
If so, it needs to be in a different forum section:
I can't se how to move the post. Maybe a user can't but a moderator?
Els, you want me to delete text and post in "System Administration" or "Help & Support (Other)"?
// Regards rbh
Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu
Offline
No, I'll just move the thread to, wait... what are y'all talking about?
reads thread
Moving to Scripts, Tutorials & Tips, adding [REQUEST] to the subject's Title.
No, he can't sleep on the floor. What do you think I'm yelling for?!!!
Offline
Well, this section is supposed to be for stuff that works, for people to browse through.
Requests for help with repo management should be in... "System Administration" maybe?
Last edited by johnraff (2020-01-25 01:58:47)
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
^done
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
Thanks, @John. Sorry your thread got bounced around a bit there, @rbh.
No, he can't sleep on the floor. What do you think I'm yelling for?!!!
Offline
I use apt-mirror, to mirror repository locally.
Unfortunately, the software is a little buggy, not properly maintained, lacks maintainer.It is often the repo becomes inconsistent. For example, I often get html pages in response to communication problems.
In postmirror.sh I have added a row to list all html pages:
grep -irl -e "<! DOCTYPE html" /data/apt-mirror /mirror >> /data/apt-mirror/var/cron.logCopies from the log and makes a cleanup script.
It takes a long time and requires manual work.I wish a script based on "file" (or somethin alike), both moving html files to /data/apt-mirror/error and listing the moves in the log.
Unless you find someone who is using apt-mirror, you are going to have to explain both the problem and your attempts at solving it in more (technical) detail.
I've looked at alternatives to apt-mirror, for example aptly,but put it aside for now...
Why is it an alternative, and why did you dismiss it?
Offline