Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

Update Broken?

Post Reply
Message
Author
NevilsStation
Forum Regular
Forum Regular
Posts: 228
Joined: Sun Feb 26, 2017 3:09 pm

Update Broken?

#1 Post by NevilsStation » Fri Sep 14, 2018 1:41 pm

Can anyone speculate as to why I'm suddenly getting this error, please?

Image

Thanks!
Custom-built PC w/i7 CPU running MX-16.

User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 9265
Joined: Sun Dec 16, 2007 1:17 pm

Re: Update Broken?

#2 Post by dolphin_oracle » Fri Sep 14, 2018 1:43 pm

because MXPI just updated again since the updater last check. go ahead and do a manual "check for updates" (updater's right-click menu)
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad T530 - MX-17
lenovo s21e & 100s - antiX-17, MX17(live-usb)
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
fehlix
Forum Guide
Forum Guide
Posts: 1404
Joined: Wed Apr 11, 2018 5:09 pm

Re: Update Broken?

#3 Post by fehlix » Fri Sep 14, 2018 2:18 pm

On the command line I do always do refresh of the package-lists
with "apt update" before a do a "apt dist-upgrade" or a "apt install ...
to avoid such out-of sync errors.

NevilsStation
Forum Regular
Forum Regular
Posts: 228
Joined: Sun Feb 26, 2017 3:09 pm

Re: Update Broken?

#4 Post by NevilsStation » Fri Sep 14, 2018 3:34 pm

Thanks - that did it ... I wonder why the updater doesn't automatically do that?
Custom-built PC w/i7 CPU running MX-16.

User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 9265
Joined: Sun Dec 16, 2007 1:17 pm

Re: Update Broken?

#5 Post by dolphin_oracle » Fri Sep 14, 2018 3:35 pm

NevilsStation wrote:
Fri Sep 14, 2018 3:34 pm
Thanks - that did it ... I wonder why the updater doesn't automatically do that?
it does...eventually.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad T530 - MX-17
lenovo s21e & 100s - antiX-17, MX17(live-usb)
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 22413
Joined: Wed Jul 19, 2006 6:13 am

Re: Update Broken?

#6 Post by Jerry3904 » Fri Sep 14, 2018 3:36 pm

Its on a schedule and you just happened to cut across it.
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, Kingston SSD 120 GB and WesternDigital 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB

User avatar
fehlix
Forum Guide
Forum Guide
Posts: 1404
Joined: Wed Apr 11, 2018 5:09 pm

Re: Update Broken?

#7 Post by fehlix » Fri Sep 14, 2018 3:49 pm

NevilsStation wrote:
Fri Sep 14, 2018 3:34 pm
Thanks - that did it ... I wonder why the updater doesn't automatically do that?
IIRC, the updater relys on the daily(?) cron refresh, so if you have to frequent in beetween updates during the day of the repos
the local package list might just be out of sync. I think it was a considation to reduce permanet (or to often background refreshs).

User avatar
colin_b
Forum Regular
Forum Regular
Posts: 305
Joined: Sun Mar 19, 2017 7:21 pm

Re: Update Broken?

#8 Post by colin_b » Fri Sep 14, 2018 9:47 pm

Just out of curiosity, if (and only if) a 404 error is returned would it be possible for the PI to recheck for updates?

User avatar
asqwerth
Forum Veteran
Forum Veteran
Posts: 3251
Joined: Sun May 27, 2007 5:37 am

Re: Update Broken?

#9 Post by asqwerth » Fri Sep 14, 2018 10:20 pm

colin_b wrote:
Fri Sep 14, 2018 9:47 pm
Just out of curiosity, if (and only if) a 404 error is returned would it be possible for the PI to recheck for updates?
That's not the same situation, though. The point is that the update check cron job only starts a little while after the user logs in, not immediately. Presumably so it doesn't get in the way of all the processes that normally start when one logs in.

So it hasn't even checked yet, let alone discovered a 404 error.

This is more like me seeing the notifier show one update the night before, being too lazy to update, logging out, logging in the next morning and then clicking on the notifier icon immediately (which still shows 1 update), not realising that more updates are now available, including an update of the same package indicated last night.

So the package list is outdated because I didn't give the notifier's automated checking function a chance to get going (which takes quite a few minutes).

Which is why I either don't update immediately upon logging in, or if I want to, I do my usual

apt clean, apt update and apt full-upgrade

in terminal.
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

User avatar
colin_b
Forum Regular
Forum Regular
Posts: 305
Joined: Sun Mar 19, 2017 7:21 pm

Re: Update Broken?

#10 Post by colin_b » Fri Sep 14, 2018 10:39 pm

I see what you mean.

What I was thinking (and it may not be practical or achievable) is the output from the update is read by a small program when the update has been downloaded and the terminal closed. If it finds "404 Not found" in the text then it automatically redoes the update.

Just a thought.

Post Reply

Return to “Software / Configuration”