Thre are three ways I can think of upgrading say from Mga7 to 8.<snip>
a) Wipe 7 and Install 8.
b) Upgrade in place from the cdrom/usb stick.<snip>
c) Update by transfering a Mga8 /etc/urpmi/urpmi.cfg in, running
urpmi.update -a, and then urpmi --auto-select
What are the other disadvnatages of the three choices? Any advice?
What about upgrading from Mga6 to 8. That lets out b) since Mageia
strongly advises not to do this. One could do b) (or c) from 6 to 7 and
then from 7 to 8. What would happen if one did c) for 6 to 8 directly?
I tried b) on one system, (about 4000 packages replaced) but an
frighted to start looking for the problems.
Thre are three ways I can think of upgrading say from Mga7 to 8.
a) Wipe 7 and Install 8.
Avantage-- the system is liable to uniform, and bugs resulting from
mixes of 7 programs which did not get upgraded and 8 programs is
reduced Disadvantage: Suddenly all of the configuration choices that
were made in 7 to get it to run as you want it (from crucial things
like /etc/passwrd and /etc/shadow to /etc/ssh/* or /etc/postfix
choices, to thousands of other programs) are not longer there. It has
typically taken me about a month of unproductive work to get the
system back to a useable state.
b) Upgrade in place from the cdrom/usb stick.
Advantage: most of the configurations remain in place, but sometimes
new programs dislike old configurations Disadvantage: You still have
to take down the machine in person to install the new system. Ie, it
cannot be done remotely.
c) Update by transfering a Mga8 /etc/urpmi/urpmi.cfg in, running
urpmi.update -a, and then urpmi --auto-select
Advantage: Again preserving configurations. But again the worry that
some names have changed sufficiently to not be updated (eg gimp
renamed to gimp2 and thus the update is invisible to the system)
It can be done remotely.
What are the other disadvnatages of the three choices? Any advice?
What about upgrading from Mga6 to 8. That lets out b) since Mageia
strongly advises not to do this. One could do b) (or c) from 6 to 7 and
then from 7 to 8. What would happen if one did c) for 6 to 8 directly?
I tried b) on one system, (about 4000 packages replaced) but an frighted
to start looking for the problems.
Thre are three ways I can think of upgrading say from Mga7 to 8.
a) Wipe 7 and Install 8.
Avantage-- the system is liable to uniform, and bugs resulting from
mixes of 7 programs which did not get upgraded and 8 programs is
reduced
Disadvantage: Suddenly all of the configuration choices that were
made in 7 to get it to run as you want it (from crucial things like
/etc/passwrd and /etc/shadow
to /etc/ssh/*
or /etc/postfix choices,
to thousands of other programs) are not longer there. It has
typically taken me about a month of unproductive work to get the
system back to a useable state.
b) Upgrade in place from the cdrom/usb stick.
Advantage: most of the configurations remain in place, but sometimes
new programs dislike old configurations
Disadvantage: You still have to take down the machine in person to
install the new system. Ie, it cannot be done remotely.
c) Update by transfering a Mga8 /etc/urpmi/urpmi.cfg in, running
urpmi.update -a, and then urpmi --auto-select
Advantage: Again preserving configurations. But again the worry that
some names have changed sufficiently to not be updated (eg gimp
renamed to gimp2 and thus the update is invisible to the system)
It can be done remotely.
What are the other disadvnatages of the three choices? Any advice?
What about upgrading from Mga6 to 8. That lets out b) since Mageia
strongly advises not to do this. One could do b) (or c) from 6 to 7 and
then from 7 to 8. What would happen if one did c) for 6 to 8 directly?
I tried b) on one system, (about 4000 packages replaced) but an
frighted to start looking for the problems.
c) Update by transfering a Mga8 /etc/urpmi/urpmi.cfg in, running urpmi.update -a, and then urpmi --auto-select
Advantage: Again preserving configurations. But again the worry
that
some names have changed sufficiently to not be updated (eg gimp
renamed to gimp2 and thus the update is invisible to the system)
It can be done remotely.
What are the other disadvnatages of the three choices? Any advice?
What about upgrading from Mga6 to 8. That lets out b) since Mageia
strongly advises not to do this. One could do b) (or c) from 6 to 7
and then from 7 to 8. What would happen if one did c) for 6 to 8
directly?
What would help is a selectable automatic tool that backs up the existing system so that it can be reverted back witch is fully testing when using a different partition to save to and my experience of using rsync does not
cut it at all.
In fact, so far I have not found anything that does
What would help is a selectable automatic tool that backs up the
existing system so that it can be reverted back witch is fully
testing when using a different partition to save to and my experience
of using rsync does not cut it at all.
In fact, so far I have not found anything that does
On Wed, 30 Mar 2022 04:07:19 -0000 (UTC), William Unruh wrote:
Thre are three ways I can think of upgrading say from Mga7 to 8.
a) Wipe 7 and Install 8.
Avantage-- the system is liable to uniform, and bugs resulting from
mixes of 7 programs which did not get upgraded and 8 programs is
reduced
Disadvantage: Suddenly all of the configuration choices that were
made in 7 to get it to run as you want it (from crucial things like
/etc/passwrd and /etc/shadow
Yup, my passwd_changes script pulls all ids greater than 1499 to get
user id and passwords and cli commands to make other additional changes.
to /etc/ssh/*
Yep, saw some keyword changes and had to modify my script based on version.
or /etc/postfix choices,
to thousands of other programs) are not longer there. It has
typically taken me about a month of unproductive work to get the
system back to a useable state.
Easily solved using configuration scripts and easy enough to code/debug/test in a virtualbox guest.
b) Upgrade in place from the cdrom/usb stick.
Advantage: most of the configurations remain in place, but sometimes
new programs dislike old configurations
Disadvantage: You still have to take down the machine in person to
install the new system. Ie, it cannot be done remotely.
Then c) would be better than b)
c) Update by transfering a Mga8 /etc/urpmi/urpmi.cfg in, running
urpmi.update -a, and then urpmi --auto-select
Advantage: Again preserving configurations. But again the worry that
some names have changed sufficiently to not be updated (eg gimp
renamed to gimp2 and thus the update is invisible to the system)
It can be done remotely.
What are the other disadvnatages of the three choices? Any advice?
Create custom install/change scripts to run after clean installs.
$ dir install_* | wc -l
50
$ dir *_changes | wc -l
191
What about upgrading from Mga6 to 8. That lets out b) since Mageia
strongly advises not to do this. One could do b) (or c) from 6 to 7 and
then from 7 to 8. What would happen if one did c) for 6 to 8 directly?
I tried b) on one system, (about 4000 packages replaced) but an
frighted to start looking for the problems.
That is where automating install helps. I have a change counter in
my scripts and if count is incorrect I can look at the script log and
config files to see what did not happen. I use the "script" command to
log script activity. Example:
scipt -c "new_install" new_install.log
Trust me, push redundant code into functions. build boiler plate/skeleton scripts and it becomes dead easy to copy one into new change/install file
and start hacking away.
My current boiler plate/skeletons
$ ls *skel*
bash_skeleton skel_changes skeleton_sb_drop_in_changes install_skeleton skeleton_changes skeleton_service_changes
Function includes in install_skeleton
. /local/bin/functions_path_app # set PATH and other common variables
. /local/bin/functions_xmsg # wrapper around xmessage
. /local/bin/functions_install # install functions
. /local/bin/functions_change # change functions.
$ grep function functions_install | grep -v '#'
function x_args ()
function x_urpmi ()
function x_urpme ()
function mount_rst ()
function umount_rst ()
$ grep function functions_change | grep -v '#'
function set_facl ()
function save_facl ()
function save_perms ()
function set_perms ()
function ck_vorig_dir()
function ck_vsave_dir()
function ck_rpmnew()
function cp_vsave_vinstal()
function cp_vinstall()
function cp_vorig()
function mv_vorig()
function restore_vinstall()
function restore_vorig()
function null_fn ()
function chg_check ()
I can recommend a change script for each file for a given app.
For postfix I have the different changes.
$ ls *post*
ck_postfix postfix_main_cf_changes
create_postfix_db postfix_make_changes
Makefile_postfix postfix_sasl_changes
post_conf postfix_sasl_passwd_bittwister postfix_aa_init_changes postfix_sasl_passwd_grannys_account postfix_aliases_changes postfix_sender_relay_changes
postfix_changes postfix_tls_policy_changes
postfix_cleanup postfix_transport_changes
postfix_generic_changes postfix_z_cleanup_changes
postfix_local_changes postfix_z_make_changes
postfix_changes snippet run all the change scripts
#*****************************************
#* main code start here
#*****************************************
progress "\n\t # Running $_exe "$_action"\n"
cd /etc/postfix
parse_cmd_line
#************************
#* run all change scripts
#************************
while read -r line ; do
$line "$_action"
done < <(ls -1 /local/bin/postfix_*_changes*)
systemctl stop postfix
sleep 2
systemctl start postfix
rm --force $_tmp_fn
progress "# Completed $_exe "$_action""
#***************** end postfix_changes ********************************
I have System configuration environment files used by scripts needing
system information. Example names are for managing different nodes on my network and my neighbor's system. network local setup uses static addresses and whatever ISP currently using.
$ ls /var/local/*env
/var/local/bittwister_frontier_static.env /var/local/localhost.env /var/local/bittwister_spectrum_static.env /var/local/mtv.env /var/local/cls_bittwister.env /var/local/printer.env /var/local/cls.env /var/local/scanner.env /var/local/install.env /var/local/tb.env /var/local/ir_tuner.env /var/local/tuner.env /var/local/isp.env /var/local/vb.env /var/local/isp_router.env /var/local/voip.env /var/local/lan.env /var/local/wb4.env /var/local/lan_router.env /var/local/wb.env /var/local/local.env /var/local/webcam.env
Example wb node info
$ cat /var/local/wb.env
#***************************************************
#
# /var/local/wb.env
# Created by /local/bin/create_sys_env Fri 18 Mar 05:32 2022
# in gen_node_env
#
# if you changes this file update
# /local/bin/create_sys_env
#
#***************************************************
#
n_seg_wan0="192.168.50"
n_seg_enp0="192.168.50"
n_gw="192.168.50.1"
n_desc_enp0="LAN_NIC"
n_domain_enp0="home.test"
n_enp0="enp3s0"
n_hosts_enp0="192.168.50.132 wb.home.test wb"
n_ip_enp0="192.168.50.132"
n_mac_enp0="a0:f3:c1:00:3c:1e"
n_onboot_enp0=yes
n_seg_enp1="192.168.15"
n_desc_enp1="VOIP_NIC"
n_domain_enp1="voip.test"
n_enp1="enp4s0"
n_hosts_enp1="192.168.15.135 voip.voip.test voip-wb-gateway" n_ip_enp1="192.168.15.135"
n_mac_enp1="d4:85:64:0d:ef:a4"
n_onboot_enp1=no
n_desc_wlp0="WIFI"
n_wlp0="wlp2s0"
n_onboot_wlp0=no
n_onboot_wlp1=no
n_webpg="file:///local/doc/bittwister.html"
#****** end gen_node_env /var/local/wb.env ****************
I would recommend upgrading from 6 by install / upgrade to 7 reboot and do
a quick check etc before then upgrading to 8.
Testing in done going from current to next release and not by jumping more than one as that has enough possible issues.
What is really needed is that Mageia follows they way that other distro's work in providing a LTS with around a five year life followed by an upgrade to the next LTS service.
Going from one release to the next "should" be safe as the standards
products that are or could be installed on that release must be known so
the scripts should be written to take all that in to account.
In practice, this is not fully tested for and it has been known to go pear shaped.
What would help is a selectable automatic tool that backs up the existing system so that it can be reverted back witch is fully testing when using a different partition to save to and my experience of using rsync does not
cut it at all.
In fact, so far I have not found anything that does
Best recommendation is never but never do an update until it has been in
the field for 6 months to allow time for it to be well tested with new updates to it as needed first.
Well that's my 5 pence worth.
On 2022-03-30, Bit Twister <BitTwister@mouse-potato.com> wrote:.....
On Wed, 30 Mar 2022 04:07:19 -0000 (UTC), William Unruh wrote:
Thre are three ways I can think of upgrading say from Mga7 to 8.
c) Update by transfering a Mga8 /etc/urpmi/urpmi.cfg in, running
urpmi.update -a, and then urpmi --auto-select
Advantage: Again preserving configurations. But again the worry that
some names have changed sufficiently to not be updated (eg gimp
renamed to gimp2 and thus the update is invisible to the system)
It can be done remotely.
On Wed, 30 Mar 2022 15:15:39 -0400, William Unruh <unruh@invalid.ca> wrote:
The final bug was the package icedtea-web which consistantly refused to
install (with no error message, just urpmi finishing without installing)
boson:10.0[root]>urpmi --auto-selectTry ...
To satisfy dependencies, the following package is going to be installed:
Package Version Release Arch
(medium "Core Release")
icedtea-web 1.8.2 2.mga8 x86_64
19KB of additional disk space will be used.
1.9MB of packages will be retrieved.
Proceed with the installation of one package? (Y/n)
# urpme icedtea-web
# urpmi --clean
# urpmi icedtea-web
The final bug was the package icedtea-web which consistantly refused to install (with no error message, just urpmi finishing without installing)Try ...
boson:10.0[root]>urpmi --auto-select
To satisfy dependencies, the following package is going to be installed:
Package Version Release Arch
(medium "Core Release")
icedtea-web 1.8.2 2.mga8 x86_64
19KB of additional disk space will be used.
1.9MB of packages will be retrieved.
Proceed with the installation of one package? (Y/n)
Thre are three ways I can think of upgrading say from Mga7 to 8.
On 30.03.2022 at 14:54, Vincent Coen scribbled:
What would help is a selectable automatic tool that backs up the
existing system so that it can be reverted back witch is fully
testing when using a different partition to save to and my experience
of using rsync does not cut it at all.
In fact, so far I have not found anything that does
Timeshift.
On Wed, 30 Mar 2022 15:15:39 -0400, William Unruh <unruh@invalid.ca> wrote:
The final bug was the package icedtea-web which consistantly refused to
install (with no error message, just urpmi finishing without installing)
boson:10.0[root]>urpmi --auto-selectTry ...
To satisfy dependencies, the following package is going to be installed:
Package Version Release Arch
(medium "Core Release")
icedtea-web 1.8.2 2.mga8 x86_64
19KB of additional disk space will be used.
1.9MB of packages will be retrieved.
Proceed with the installation of one package? (Y/n)
# urpme icedtea-web
# urpmi --clean
# urpmi icedtea-web
On Wed, 30 Mar 2022 15:42:57 -0400, David W. Hodgins <dwhodgins@nomail.afraid.org> wrote:
On Wed, 30 Mar 2022 15:15:39 -0400, William Unruh <unruh@invalid.ca> wrote: >>> The final bug was the package icedtea-web which consistantly refused to
install (with no error message, just urpmi finishing without installing)Try ...
boson:10.0[root]>urpmi --auto-select
To satisfy dependencies, the following package is going to be installed: >>> Package Version Release Arch
(medium "Core Release")
icedtea-web 1.8.2 2.mga8 x86_64
19KB of additional disk space will be used.
1.9MB of packages will be retrieved.
Proceed with the installation of one package? (Y/n)
# urpme icedtea-web
# urpmi --clean
# urpmi icedtea-web
Also, double check "urpmq --list-media active" to make sure the repos for both
release and updates are being used, for core, and if enabled, nonfree and tainted.
On 2022-03-30, Bit Twister <BitTwister@mouse-potato.com> wrote:
or /etc/postfix choices,
to thousands of other programs) are not longer there. It has
typically taken me about a month of unproductive work to get the
system back to a useable state.
Easily solved using configuration scripts and easy enough to code/debug/test >> in a virtualbox guest.
Which means that I have to spend weeks writing and debugging etc those
config script, only to have crucial pieces change on the next upgrade,
and not have to alter both the system itself AND the config scripts.
Yes, they are helpful ( and I have done that for some things, like
always changeing the tex config files to use Letter rather than A4 and
some other things) but they sure are not a final solution.
Create custom install/change scripts to run after clean installs.
$ dir install_* | wc -l
50
$ dir *_changes | wc -l
191
That's 250 scripts I have to write, to debug and to change each and
every time I do an upgrade, since "things have changed".
On 2022-03-30, David W. Hodgins <dwhodgins@nomail.afraid.org> wrote:
On Wed, 30 Mar 2022 15:15:39 -0400, William Unruh <unruh@invalid.ca> wrote: >>> The final bug was the package icedtea-web which consistantly refused to
install (with no error message, just urpmi finishing without installing)Try ...
boson:10.0[root]>urpmi --auto-select
To satisfy dependencies, the following package is going to be installed: >>> Package Version Release Arch
(medium "Core Release")
icedtea-web 1.8.2 2.mga8 x86_64
19KB of additional disk space will be used.
1.9MB of packages will be retrieved.
Proceed with the installation of one package? (Y/n)
# urpme icedtea-web
# urpmi --clean
# urpmi icedtea-web
OK, that worked.
Thanks
Whatever got messed up in the cache, urpmi should have given me some
sort of error message, and not simply crapped out.
On 2022-03-30, William Unruh <unruh@invalid.ca> wrote:
On 2022-03-30, Bit Twister <BitTwister@mouse-potato.com> wrote:....
On Wed, 30 Mar 2022 04:07:19 -0000 (UTC), William Unruh wrote:
Thre are three ways I can think of upgrading say from Mga7 to 8.
c) Update by transfering a Mga8 /etc/urpmi/urpmi.cfg in, running
urpmi.update -a, and then urpmi --auto-select
Advantage: Again preserving configurations. But again the worry that >>>> some names have changed sufficiently to not be updated (eg gimp
renamed to gimp2 and thus the update is invisible to the system)
It can be done remotely.
WEll I tried c) on one system. The mirror was princeton. But something
weird happened. On my first try I kept getting wget/curl timeouts (well
maby 5 or 6 of the first 200 packages out of 4000) I would just say "continue.
But then urpmi seems to have goten itself into a weird state.
It would say that it was installing some list of 50 or so packages,
would download them, and would then not install anything, and go on to
the next batch. I finally did ^C, reran urpmi.update -a and urpmi --auto-select. (this was before I saw the recommendation to use the
upgrade app).
This time things seemed to go much better, it still got
about 3 inabilities to download. but the upgrade finished. I reran
urpmi and it installed a couple of the missed ones, but one absoluteluy refused to install I would rerun urpmi (sometimes with auto-select,
sometimes with the name of the package directly on the urpmi line) but
after 5 tries it never did install that package. Now the curl/wget
failure I attribute to some problem with the princton mirror. But the
refusal to install seems to be a bug in urpmi.
The final bug was the package icedtea-web which consistantly refused to install (with no error message, just urpmi finishing without installing)
Yup, seen princetion acting up for the first time about a month ago and
only use wget as downloader.
On Wed, 30 Mar 2022 17:42:43 -0400, Bit Twister <BitTwister@mouse-potato.com> wrote:
Yup, seen princetion acting up for the first time about a month ago and
only use wget as downloader.
One factor that has been a problem at times, is that someone has been launching
ddos attacts against princeton. Not all the time, but every so often. I'm not sure
if that's why curl and aria2c fail more often or not.
Upgrading from release to release+1 is tested to the best of our
ability. We can't
test every combination of hardware, partitioning choices, software combinations,
but do the best we can. Third party software may also cause problems.
On 31/3/22 01:42, Aragorn wrote:
On 30.03.2022 at 14:54, Vincent Coen scribbled:=20
=20
What would help is a selectable automatic tool that backs up the=20
existing system so that it can be reverted back witch is fully
testing when using a different partition to save to and my
experience of using rsync does not cut it at all.
In fact, so far I have not found anything that does =20
Timeshift.
that does look interesting, Aragorn. It may be better than a battle
with rysnc
On 31/3/22 04:04, David W. Hodgins wrote:
Upgrading from release to release+1 is tested to the best of our
ability. We can't
test every combination of hardware, partitioning choices, software
combinations,
but do the best we can. Third party software may also cause problems.
Yep
Each release invites me to install my printer/scanner driver
I know that I should have taken notes but by the time I've banged my
head on the keyboard all evening I am just glad to have it FINALLY working
And, of course, I'll remember next time, wont I?
AND AND the previous time for M8 I decided to network the printer
Got real close to the edge of madness there.
Best recommendation is never but never do an update until it has been in
the field for 6 months to allow time for it to be well tested with new updates to it as needed first.
On 31/3/22 04:04, David W. Hodgins wrote:
Upgrading from release to release+1 is tested to the best of our
ability. We can't
test every combination of hardware, partitioning choices, software
combinations,
but do the best we can. Third party software may also cause problems.
Yep
Each release invites me to install my printer/scanner driver
I know that I should have taken notes but by the time I've banged my
head on the keyboard all evening I am just glad to have it FINALLY working
And, of course, I'll remember next time, wont I?
AND AND the previous time for M8 I decided to network the printer
Got real close to the edge of madness there.
Interesting. I have three printers, all HP. The oldest is a Deskjet
5650, almost 20 years old, but it still works. Newest is a 2018 Envy
Photo 7858, purchased as refurbished to replace an Officejet that went
belly up. I needed the scanner, not the printer, but all-in-ones are a
LOT easier to find, and cheaper, than stand-alone scanners. In between
is an old color Laserjet, a gift my nephew rescued when it was cast off
by the office where he worked.
Easy to install with MCC, only a few minutes each. The newest one is the only one that's wireless, so I used it to test the networking setup of
the recent hplip update. The printer set itself up with my router, so
MCC again had no problems configuring it as a network printer on a
couple of my other computers.
TJ
I can post my expect script if you like. Your script would have
autoexpect bash linux-brprinter-installer $_printer
which would automagically answer all the installer questions.
Any time you want to automate your install you can start a new thread
and I can help you code a script.
On 1/4/22 02:44, Bit Twister wrote:
I can post my expect script if you like. Your script would have
autoexpect bash linux-brprinter-installer $_printer
which would automagically answer all the installer questions.
Any time you want to automate your install you can start a new thread
and I can help you code a script.
It presently "aint broke" and it wont change until Mageia 9.
Then we may be up for it again. But I have my notes and the magic URI
entry. Which is just an IP address and port number: but if you don't
know it, you're stuffed. Maybe it's fully automated and can be left
blank. I don't think I ever tried that,
I just sat there and yelled at MCC " What's a fscking URI you son of a bitch"
One day when I'm feeling invincible I will trash the printer install and play about with it. A learning experience. But not to be taken on during
the heat of a new release
regards
c) Update by transfering a Mga8 /etc/urpmi/urpmi.cfg in, running
urpmi.update -a, and then urpmi --auto-select
Advantage: Again preserving configurations. But again the worry that
some names have changed sufficiently to not be updated (eg gimp
renamed to gimp2 and thus the update is invisible to the system)
It can be done remotely.
root, and the network now seemed to be up (why would the system try to
mount nfs files when the network was not up?)
Which is clearly why you should get the notes and script up and running
well before the heat of a new release arrives.
Timeshift.
On Thu, 31 Mar 2022 21:56:59 -0400, William Unruh <unruh@invalid.ca> wrote:
root, and the network now seemed to be up (why would the system try to
mount nfs files when the network was not up?)
Because the system has no way of knowing which mounts are critical from the user's point of view.
Instead of commenting out the fstab entries, add the nofail option to every entry that isn't critical. For example, I have a file system used for backups.
I don't want the system to drop to the recovery shell if it fails to mount, so
in fstab I have ...
LABEL=aback /aback ext4 defaults,noatime,nofail 1 2
It still gets mounted, but if it fails for any reason, it doesn't stop the boot.
And just fyi, this is not a new option. It was the same in Mageia 7. The only difference is that now the network failed to come on that system.
Regards, Dave Hodgins
On 2022-03-30, William Unruh <unruh@invalid.ca> wrote:
c) Update by transfering a Mga8 /etc/urpmi/urpmi.cfg in, running
urpmi.update -a, and then urpmi --auto-select
Advantage: Again preserving configurations. But again the worry that
some names have changed sufficiently to not be updated (eg gimp
renamed to gimp2 and thus the update is invisible to the system)
It can be done remotely.
OK, I did c) and the system ran, until I rebooted.
Then I got dumped
into the systemd error bin. Of course no explanation of why. Just ^D to continue ( which just got my error again) or give password for root, and
look at journalctl. Nothing there to indicate what it was that caused
the problem, except scattered through the boot log were errors saying
that various directories could not be mounted. They were all nfs, and
trying to ping I discovered that the network had not come up.
Now, the
system was all on the local machine, so why in the world would inability
to mount nfs crash the system? I finally went into /etc/fstab, commented
out all the nfs entries, and sure enough the boot finished. Logged in as root, and the network now seemed to be up (why would the system try to
mount nfs files when the network was not up?)
So now I have to figure out how to harden the system Commenting out all
the nfs mounts is not an option, since they are needed for that computer
to carry out its job. I am now putting in noauto option into those nfs mounts, but of course that means after the reboot I will have to by hand mount all of those nfs mounts one by one, since noauto means that mount
-a does not work for those mounts. (would a clean install have been
better? No. because I would then have to recreate the /etc/fstab file
from scratch.)
Why in the world is the system not smart enough to ignore errors in nfs mounted files, or set up the system to finish its boot and then try to
run mount -a after the network has come up?
It is things like that that make upgrading the horror that it is, and
make people very gun-shy about upgrading.
On 1/4/22 01:50, TJ wrote:
Brother provides a script which downloads and installs all the drivers.
This all seems terrific until the last bit when the script will ask if a
test print is required.
This doesn't work because the printer is yet to be installed.
This is silly and irritating
The printer is then installed with MCC or cups, usually OK.
The scanner must not be installed by MCC or everything is fubar.
The scanner must be installed by xsane or it does for me.
On 31/3/22 01:42, Aragorn wrote:
=20
Timeshift.=20
I've had a quick look, Aragorn
=20
Does it run independently or does it backup the live system
should I read the man page :-)
On 1/4/22 02:44, Bit Twister wrote:
I can post my expect script if you like. Your script would have
autoexpect bash linux-brprinter-installer $_printer
which would automagically answer all the installer questions.
Any time you want to automate your install you can start a new thread
and I can help you code a script.
It presently "aint broke" and it wont change until Mageia 9.
Then we may be up for it again. But I have my notes and the magic URI
entry. Which is just an IP address and port number: but if you don't
know it, you're stuffed. Maybe it's fully automated and can be left
blank. I don't think I ever tried that,
I just sat there and yelled at MCC " What's a fscking URI you son of a bitch"
One day when I'm feeling invincible I will trash the printer install and play about with it. A learning experience. But not to be taken on during
the heat of a new release
regards
This all seems terrific until the last bit when the script will ask if a
test print is required.
This doesn't work because the printer is yet to be installed.
This is silly and irritating
Hmmmm, the few times I forgot to answer N to print test page worked for me.
Yelling at MCC never works. Trust me on this. Don't ask how I know, just trust me.
More than you wanted to know about "URI:"
https://en.wikipedia.org/wiki/Uniform_Resource_Identifier
This was a month ago, but as I remember it the procedure I used for my
HP printer was this:
1) Used the printer's front panel menu/functions to establish a
connection to my network on my Linksys wireless router.
2) Booted into Mageia, ran MCC and from there asked to configure a
printer. This installed system-config-printer, which has
task-printing-hp as one of its dependencies.
3) When system-config-printer came up, clicked on "Add." The printer was detected automatically. I clicked on it, then said to use the hplip
driver. Any needed information was gathered for me, and the system
installed both printer and scanner.
I used an alternative method on another machine where
system-config-printer and task-printing-hp had already been installed:
As root, I ran "hp-setup <network IP of the printer>" Again, I did not
have to provide any further information that I recall now, and both
printer and scanner were installed.
On 2/4/22 00:24, TJ wrote:
As root, I ran "hp-setup <network IP of the printer>" Again, I did not
have to provide any further information that I recall now, and both
printer and scanner were installed.
So you already knew of the secret guild code to run "hp-setup". You were lucky. :-)
The hp task printing stuff must installed by default and I have Brother printer
On Wed, 30 Mar 2022 00:07:19 -0400, William Unruh <unruh@invalid.ca> wrote:
Thre are three ways I can think of upgrading say from Mga7 to 8.<snip>
a) Wipe 7 and Install 8.
b) Upgrade in place from the cdrom/usb stick.<snip>
c) Update by transfering a Mga8 /etc/urpmi/urpmi.cfg in, running
urpmi.update -a, and then urpmi --auto-select
What are the other disadvnatages of the three choices? Any advice?
This is overlooking the most common method, initiating the upgrade using mgaapplet.
It's like option c above, but done without having to manually alter the urpmi.cfg
file.
There's also "urpmi.removemedia -a", followed by adding the media. That can be done
using urpmi.addmedia, as per https://wiki.mageia.org/en/How_to_choose_the_right_Mageia_upgrade_method#How_to_do_a_simple_upgrade_in_text_mode
See that site in the wiki for the pros/cons of each
On 2022-03-30, David W. Hodgins <dwhodgins@nomail.afraid.org> wrote:
On Wed, 30 Mar 2022 00:07:19 -0400, William Unruh <unruh@invalid.ca> wrote: >>> Thre are three ways I can think of upgrading say from Mga7 to 8.
a) Wipe 7 and Install 8.<snip>
b) Upgrade in place from the cdrom/usb stick.<snip>
c) Update by transfering a Mga8 /etc/urpmi/urpmi.cfg in, running
urpmi.update -a, and then urpmi --auto-select
What are the other disadvnatages of the three choices? Any advice?
This is overlooking the most common method, initiating the upgrade using mgaapplet.
It's like option c above, but done without having to manually alter the urpmi.cfg
file.
There's also "urpmi.removemedia -a", followed by adding the media. That can be done
using urpmi.addmedia, as per
https://wiki.mageia.org/en/How_to_choose_the_right_Mageia_upgrade_method#How_to_do_a_simple_upgrade_in_text_mode
That web page or the method has a lacuuna. I run the test. Each time I
do so, it downloads all of the files again (more than 1 hr on my Gbit
fibre cable) making the test a real pain to use. It also does not say
that it has run out of room. It just says that the package needs 27MB to install. And I have 3GB on / partition. I finally figured out that this
meant it had run out of room on the test run.
Then, when I finally made enough room ( I had 17GB hidden under the
mount point of my /local) and it said I could install, it seemed again
to go ahead and download all of files that it just downloaded-- a real
waste of time. I tried looking at the options for uprmi but could not
see anything which sid to just use the cached files in the cache
directory /newlocal/rpms (that was where I had to put the cache since /
was too full).
Ie, that web page really needs some editing to make it more idiot proof.
Eg, why in the world save the downloads if it is going to ignore them
anyway.
On Sat, 9 Apr 2022 22:06:48 -0000 (UTC), William Unruh wrote:
On 2022-03-30, David W. Hodgins <dwhodgins@nomail.afraid.org> wrote:
On Wed, 30 Mar 2022 00:07:19 -0400, William Unruh <unruh@invalid.ca> wrote: >>>> Thre are three ways I can think of upgrading say from Mga7 to 8.
a) Wipe 7 and Install 8.<snip>
b) Upgrade in place from the cdrom/usb stick.<snip>
c) Update by transfering a Mga8 /etc/urpmi/urpmi.cfg in, running
urpmi.update -a, and then urpmi --auto-select
What are the other disadvnatages of the three choices? Any advice?
This is overlooking the most common method, initiating the upgrade using mgaapplet.
It's like option c above, but done without having to manually alter the urpmi.cfg
file.
There's also "urpmi.removemedia -a", followed by adding the media. That can be done
using urpmi.addmedia, as per
https://wiki.mageia.org/en/How_to_choose_the_right_Mageia_upgrade_method#How_to_do_a_simple_upgrade_in_text_mode
That web page or the method has a lacuuna. I run the test. Each time I
do so, it downloads all of the files again (more than 1 hr on my Gbit
fibre cable) making the test a real pain to use. It also does not say
that it has run out of room. It just says that the package needs 27MB to
install. And I have 3GB on / partition. I finally figured out that this
meant it had run out of room on the test run.
Then, when I finally made enough room ( I had 17GB hidden under the
mount point of my /local) and it said I could install, it seemed again
to go ahead and download all of files that it just downloaded-- a real
waste of time. I tried looking at the options for uprmi but could not
see anything which sid to just use the cached files in the cache
directory /newlocal/rpms (that was where I had to put the cache since /
was too full).
There is no time saved on test, or not, as far as download time is concerned.
I do have to disagree about using the downloaded files. My pull_updates script checks the node and if not "wb" then rsync's the cached rpms from 'wb' then
do the urpmi to get sync*.cz and already sees the cached rpm files
and does not download them again.
On 2022-04-09, Bit Twister <BitTwister@mouse-potato.com> wrote:
There is no time saved on test, or not, as far as download time is concerned.
Which is stupid. The files are all downloaded and tested that they will
(at least superficially) install. I have now downloaded about 50GB,
instead of 5 from princeton. That overloads their server, and is really
bad manners.
There is no time saved on test, or not, as far as download time is concerned.
Which is stupid. The files are all downloaded and tested that they will
(at least superficially) install. I have now downloaded about 50GB,
instead of 5 from princeton. That overloads their server, and is really
bad manners.
I do have to disagree about using the downloaded files. My pull_updates
script checks the node and if not "wb" then rsync's the cached rpms from 'wb' then
do the urpmi to get sync*.cz and already sees the cached rpm files
and does not download them again.
I do agree rsync would be better, but the default is curl, and wget is
easy. But using rsync can be rather tricky getting the right path.
man urpmi.conf
gives no hint about how to use rsync. And rsync can be tricky.
On Sat, 9 Apr 2022 22:55:44 -0000 (UTC), William Unruh wrote:
<snip>
There is no time saved on test, or not, as far as download time is concerned.
Which is stupid. The files are all downloaded and tested that they will
(at least superficially) install. I have now downloaded about 50GB,
instead of 5 from princeton. That overloads their server, and is really
bad manners.
Hmmm, Off hand I do not remember 50 gig downloads unless doing a new release. If those are normal updates then I suggest you should be installing updates more often. Just checked, third time today and just now updated four packages.
I do have to disagree about using the downloaded files. My pull_updates
script checks the node and if not "wb" then rsync's the cached rpms from 'wb' then
do the urpmi to get sync*.cz and already sees the cached rpm files
and does not download them again.
I do agree rsync would be better, but the default is curl, and wget is
easy. But using rsync can be rather tricky getting the right path.
man urpmi.conf
gives no hint about how to use rsync. And rsync can be tricky.
My rsync is just between local nodes. wb being my web browsing node.
I use wget for pulling anything from mirrors/sites.
Thus are multiple reloads of the same files (about 5G worth each time,
but many times)
Does anyone know where a source is for Mga6? The sites I have looked at
are all 7,8,cauldron only.
On Sat, 09 Apr 2022 21:32:29 -0400, William Unruh <unruh@invalid.ca> wrote:
Thus are multiple reloads of the same files (about 5G worth each time,
but many times)
That is not my experience.
Does anyone know where a source is for Mga6? The sites I have looked at
are all 7,8,cauldron only.
https://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia-archive/distrib/
There may be other mirrors that have the archive, but if so, I'm not aware of them.
Regards, Dave Hodgins
On 2022-04-09, Bit Twister <BitTwister@mouse-potato.com> wrote:
On Sat, 9 Apr 2022 22:55:44 -0000 (UTC), William Unruh wrote:
<snip>
There is no time saved on test, or not, as far as download time is concerned.
Which is stupid. The files are all downloaded and tested that they will
(at least superficially) install. I have now downloaded about 50GB,
instead of 5 from princeton. That overloads their server, and is really
bad manners.
Hmmm, Off hand I do not remember 50 gig downloads unless doing a new release.
If those are normal updates then I suggest you should be installing updates >> more often. Just checked, third time today and just now updated four packages.
Thus are multiple reloads of the same files (about 5G worth each time,
but many times)
I do have to disagree about using the downloaded files. My pull_updates >>>> script checks the node and if not "wb" then rsync's the cached rpms from 'wb' then
do the urpmi to get sync*.cz and already sees the cached rpm files
and does not download them again.
I do agree rsync would be better, but the default is curl, and wget is
easy. But using rsync can be rather tricky getting the right path.
man urpmi.conf
gives no hint about how to use rsync. And rsync can be tricky.
My rsync is just between local nodes. wb being my web browsing node.
I use wget for pulling anything from mirrors/sites.
I got it to work, more of less as I suggested. I changes http: in
urpmi.conf to rsync: , put in a "downloader: rsync" into the very first
{
}
section, (and for jameswhitby site, removed the "pub" as the first sub-directory) Only jameswhitby and princeton seem to be high speed and support rsync in N America.
Does anyone know where a source is for Mga6? The sites I have looked at
are all 7,8,cauldron only.
I went to kernel.org and then it dawned on me that sometime last year I remembered there was thread of removing old releases to ease the storage requirements on all mirrors.
You might trying 'mageia/distrib/6/' in a search engine.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 482 |
Nodes: | 16 (1 / 15) |
Uptime: | 76:08:57 |
Calls: | 9,573 |
Calls today: | 4 |
Files: | 13,666 |
Messages: | 6,142,595 |