|
Post by beardyboy40 on May 15, 2021 20:14:35 GMT
Hi folks Just installed Bodhi 6 over the top of my previous 5.1 install (great work on the new version btw) and I am looking for suggestions for an updater. I could just keep doing it manually but I saw other posts in the forum suggest mintupdate and thought to install this, but baulked at the number of dependencies it wants to add (I would rather keep manually updating on the command line). Any suggestions for a simple update GUI with fewer dependencies? No doubt there is a CLI option but I am not really very comfortable with the command line. Thanks
|
|
kiezel
Crew Member
Posts: 143
Likes: 220
|
Post by kiezel on May 15, 2021 22:40:46 GMT
|
|
|
Post by oblio on May 16, 2021 0:28:32 GMT
I may be missing a key bit, but have you tried the Synaptic Package Manager? If not, maybe check it out?
I'm not sure but I suspect that may be somewhat along the lines of what you are looking? Or are you looking for something more like running an automatic update script upon startup/reboot?
I'm not an expert in either of these areas but will try to help. Please let us know and be well!
|
|
cooler
Crew Member
Posts: 126
Likes: 123
|
Post by cooler on May 16, 2021 5:25:08 GMT
I just gave Kiezel's recommendation a go (on 5.1). 33 extra packages is not exactly light. Unfortunately it cannot update anything giving following errors: " 2021-05-16 08:06 + Launching Synaptic Error creating textual authentication agent: Error opening current controlling terminal for the process (`/dev/tty'): No such device or address 2021-05-16 08:06 + Return code: 127 2021-05-16 08:06 + Install failed "
I think there's something wrong with synaptic as on trying to launch it I receive the error : "Moksha vas unable to run the application: Synaptic-pkexec "
There is some other text on the error message but it cannot be seen.. the error window is fixed in size and you cannot scroll or copy its message.
It's not biggie as I'm going to replace soon this laptop's 5.1.0 with 6.0 . I don't use synaptic at all.
I think a GUI Updater makes sense as sometimes you don't want to make all the updates so it can help you choose what to update and what not to update. Any light updater not depending on synaptic? Bodhi's eepdater was not bad.. I think there was a discussion why it was dropped (was depending on esudo ?!).
|
|
kiezel
Crew Member
Posts: 143
Likes: 220
|
Post by kiezel on May 16, 2021 8:27:30 GMT
I just gave Kiezel's recommendation a go (on 5.1). 33 extra packages is not exactly light. Unfortunately it cannot update anything giving following errors: Perhaps you do need the recommends in Bodhi 5.1. I've used mintupdate all the time in Bodhi 5.1, after installing it without the --no-install-recommends switch. Anyway, in Bodhi 6.0 mintupdate should work even when installed with the --no-install-recommends switch.... Note that mintupdate in the 6.0 repo, has been modified by ylee. It's not the same as in 5.1.
|
|
cooler
Crew Member
Posts: 126
Likes: 123
|
Post by cooler on May 16, 2021 10:04:12 GMT
Kiezel you are probably right about needing other stuff. I removed mintupdate and reinstalled without the --no-install-recommends switch but still doesn't work (same error). I suspect there's someting wrong with the Synaptic.. as I said no biggie. I can use eepdater if I need on 5.1 .
Mintupdate is a nice utility.. I previously used it on Mint 19.x
|
|
|
Post by ylee on May 16, 2021 13:25:47 GMT
... I think there's something wrong with synaptic as on trying to launch it I receive the error : "Moksha vas unable to run the application: Synaptic-pkexec " ... You have to have a policy-kit agent added to your startup applications. This command must be able to work: synaptic-pkexec The way Jeff implemented and packaged eSudo caused us massive grief as he overwrote pkexec with a link to esudo. Updates broke it, it broke the whole point of policy-kit stuff in general, and so on. eSudo also completely failed to work with some locales, but on that one I bite the bullet and fixed that issue. ... Any light updater not depending on synaptic? Bodhi's eepdater was not bad.. I think there was a discussion why it was dropped (was depending on esudo ?!). Jeff also created eepdater and put it in our repos. It was broken from the beginning and no easy way to fix it. The fact it relied upon eSudo was not a big issue, the big issue was updating some packages requires user feedback and some packages use ncurses to provide the simple command line GUI for user feedback. eepdater is a EFL application and implementing some kind of virtual terminal in EFL is non-trivial. EFL provides no way simple way to do this unlike gtk. Jeff asked the e-devs to add this functionality to EFL and their response was essentially write the code yourself. Jeff never did, Kai "kuuko" Huuhko said he might find a way to embed xterm in eepdater but he also never did. Perhaps I should have tried to fix it myself, but I know how difficult it would be writing an EFL embedded terminal. That would be as much work as Terminology was if not more. I also think that embedding an xOrg application inside an EFL app is not going to be easy. Moreover I was not happy with Jeff dumping his own beta-software in our repos and then adding it to the default installs of a few Bodhi releases. In some cases replacing fully functional gtk apps with semi-functional rather buggy python-efl apps he created. As to a simple update manager, rdum asked me one day how to do it and I suggested using yad. He ended up making github.com/riban-bw/rdumI actually suggested using Yad or perhaps Zenity, policy-kit and synaptic to do the actual installation. This is exactly what I did with my apturl-saf package in BL6. But he opted for a simpler approach.
|
|
cooler
Crew Member
Posts: 126
Likes: 123
|
Post by cooler on May 16, 2021 17:15:47 GMT
Thank you Ylee for the suggestion. Unfortunately the rdum deb doesn't install. Anyway reading about rdum it seems it doesn't let you change what to install so no good for me.
I'm not sure I fully understood your point about eepdater but if it can be modified to not require esudo (if that is a problem on 6.0) I could live with its problems. It doesn't have to be included by default.. just available to the "brave" ones.
|
|
|
Post by ylee on May 16, 2021 17:23:24 GMT
Thank you Ylee for the suggestion. Unfortunately the rdum deb doesn't install. Anyway reading about rdum it seems it doesn't let you change what to install so no good for me. I'm not sure I fully understood your point about eepdater but if it can be modified to not require esudo (if that is a problem on 6.0) I could live with its problems. It doesn't have to be included by default.. just available to the "brave" ones. The problem is some packages will ask you a question during the installation, you can see this question and answer it in a terminal. In eepdater you can not see the question nor answer it so eepdater appears to hang there. The install never finishes. You can end up with packages never fully installed or configured. To me this is an app that can break your system.
|
|
|
Post by beardyboy40 on May 16, 2021 17:49:00 GMT
Thanks all for the suggestions. Obviously eepdater is not the way to go. Still mulling on mintupdate - looks a bit overkill for my needs. I guess all I am looking for is something that reminds me to update. I am comfortable enough running the update/upgrade terminal command (its one of the few I have mastered) but don't want to miss any critical security patches or anything like that.
|
|
|
Post by Hippytaff on May 16, 2021 17:54:49 GMT
Set a cron job for updates maybe?
|
|
kiezel
Crew Member
Posts: 143
Likes: 220
|
Post by kiezel on May 16, 2021 18:15:56 GMT
Thanks all for the suggestions. Obviously eepdater is not the way to go. Still mulling on mintupdate - looks a bit overkill for my needs. I guess all I am looking for is something that reminds me to update. I am comfortable enough running the update/upgrade terminal command (its one of the few I have mastered) but don't want to miss any critical security patches or anything like that. Well, I recommend you give mintupdate a spin anyway.... You might like it after all. It's not just a tool for reminding you to install updates, but it also contains some very useful extra features. For example: it allows you to blacklist particular updates, view update history, view the changelogs before applying updates and even allows you to automate security updates (although I discourage doing that: updates should never be allowed to disrupt your workflow). Furthermore it has a built-in kernel manager, which gives you a fine-grained and easy control over your kernels (for the advanced users: with it, you can even install vanilla mainline kernels straight from kernel.org and specialized kernels). It also contains a feature for keeping the number of kernels down automatically (preserving just the active kernel and its latest predecessor as reserve). Installing and removing kernels was never that easy. Pretty cool.... Personally, I wouldn't want to miss it.
|
|
ahen
Member
Posts: 57
Likes: 40
|
Post by ahen on May 17, 2021 21:25:08 GMT
Set a cron job for updates maybe? Well, you'd just use unattended-upgrades : as previously discussed . It's not installed by default in Bodhi 6 as it was in 5, but is available. I'll probably set it up again, as it "just works". It is necessary to configure it the way you want, but that is easy to do.
|
|