how do I use a copy of slack mirror on hdd to update system?
I am using this mirror-slackware-current.sh To keep my iso up to date just in case I ever need to reinstall Slack it will (should) cut down on having to update it after finishing Installing Slack. I already have the current on my hdd so why download it again when I can use what I already have, but
how do I write it in the mirrors file to use it to update my OS on my laptop? this is what I added to the mirrors file but it didn't take. Code:
#---------------------------------------------------------------- |
The 2nd-dary drive is mounted in fstab so it is always there and mounted. the file structure is this.
Code:
userx@slackwhere⚡️/etc/slackpkg⚡️$ ls /media/slack-mirror |
This is the error message I get when I have the file://media/slack-mirror/slackware64-current uncommeneted and comment out the web mirror addess. then run this.
Code:
|
From /etc/slackpkg/mirrors:
# # Slackpkg only needs to point to the directory that contains # "ChangeLog.txt", and don't forget the trailing slash. # |
Quote:
it fails says it cannot find file so I got a visual check it to see if it is actually there. |
Quote:
|
mirror-slackware-current_slackware64-current_ChangeLog.txt <-- that is the name of the changelog which I now deem stupid on ground it looks for the name ChangeLog.txt.
I get this error running slackpkg install-new Code:
Package: mlocate-0.26-x86_64-1.txz Code:
userx@slackwhere⚡️/etc/slackpkg⚡️$ ls /media/slack-mirror/slackware64-current/slackware64/a/mlocate-0.26-x86_64-1.txz |
Your link should be pointing to:
/media/slack-mirror/slackware64-current/ChangeLog.txt and should be formatted as such: file://media/slack-mirror/slackware64-current/ Notice the trailing slash. |
Quote:
Updating the package lists... Downloading... Linking /media/slack-mirror/ChangeLog.txt... grep: /tmp/slackpkg.4ZstY9/ChangeLog.txt: No such file or directory Error downloading from /media/slack-mirror/. Please, check your mirror and try again. mirror-slackware-current_slackware64-current_ChangeLog.txt <-- that is the name of the changelog which I now deem stupid on ground it looks for the name ChangeLog.txt. this is where I am having the shell script put the change log and mirrors look to Code:
# Local Directory and I just seen that the mirror-slackware-current_slackware64-current_ChangeLog.txt goes way when that script is done running. |
1 Attachment(s)
You have something screwed up. My local mirror does not have "mirror-slackware-current_slackware64-current_ChangeLog.txt".
I think that you have made some edits to the config for mirror-slackware-current.sh that are strange to say the least. This is how mine looks, and how I have been updating from: |
Quote:
Code:
rm -f $TMP/${SCRIPTID}_${SLACKRELEASE}_ChangeLog.txt |
Quote:
Code:
# Local Directory |
Quote:
so yeah it is working now, thanks for your decisive input though |
All times are GMT -5. The time now is 06:43 PM. |