<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=4686&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] [Beowulf] eudev upgrade failed]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=4686</link>
		<description><![CDATA[The most recent posts in [SOLVED] [Beowulf] eudev upgrade failed.]]></description>
		<lastBuildDate>Sat, 27 Nov 2021 22:46:13 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] [Beowulf] eudev upgrade failed]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=33035#p33035</link>
			<description><![CDATA[<p>Thx all, but I managed to solve it, at least by the looks of it.</p><p>I knew from my Funtoo days portage had the option for emerge to completely re-install all installed software with a clean tree and I found a command effectively doing the same for aptitude:</p><div class="codebox"><pre><code>aptitude reinstall &#039;~i&#039;</code></pre></div><p>That still gave me an error, so I moved the entire directory /var/lib/dpkg/info to a temporary location and recreated the /var/lib/dpkg/info directory itself. I reran the reinstall command for aptitude and all packages were nicely re-downloaded after cleaning out the package cache. So, everything is now reinstalled and after a reboot for a new kernel, all is well again <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (Dutch_Master)]]></author>
			<pubDate>Sat, 27 Nov 2021 22:46:13 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=33035#p33035</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] [Beowulf] eudev upgrade failed]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=33034#p33034</link>
			<description><![CDATA[<p>To undo the resulting badness of double newlines in those files you may use:</p><div class="codebox"><pre><code>sudo sed &#039;/^$/d&#039; -i /var/lib/dpkg/info/*.list</code></pre></div><p>That will still leave the previously missing final newline in <span class="bbc">/var/lib/dpkg/info/console-setup.list</span></p><p>In addition, given the original issue, I would also </p><div class="codebox"><pre><code>sudo apt-get install --reinstall console-setup</code></pre></div><p> unless I knew that I had been hand-editing those files sometime earlier (and could thus imagine that I had removed a final newline from at least one of them). in fact, that re-installation would have been&#160; my first point of call well before venturing into willy-nilly hand editing in the dpkg database.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Sat, 27 Nov 2021 21:04:33 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=33034#p33034</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] [Beowulf] eudev upgrade failed]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=33033#p33033</link>
			<description><![CDATA[<p>OK, thx for helping anyway. I may put in a new(er) SSD for the OS while I&#039;m at it, perhaps recover some settings from the old disk.</p>]]></description>
			<author><![CDATA[dummy@example.com (Dutch_Master)]]></author>
			<pubDate>Sat, 27 Nov 2021 17:50:38 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=33033#p33033</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] [Beowulf] eudev upgrade failed]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=33031#p33031</link>
			<description><![CDATA[<p>We could try</p><div class="codebox"><pre><code>dpkg -V</code></pre></div><p>But I think we already know what that will say.</p><p>Not sure what else to do here. Sorry.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Sat, 27 Nov 2021 16:28:48 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=33031#p33031</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] [Beowulf] eudev upgrade failed]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=33030#p33030</link>
			<description><![CDATA[<p>Well, that didn&#039;t work as advertised:</p><div class="codebox"><pre><code>dpkg: unrecoverable fatal error, aborting:
 files list file for package &#039;libnet-ssleay-perl&#039; contains empty filename
E: Sub-process /usr/bin/dpkg returned an error code (2)</code></pre></div><p>Furthermore, the file /var/lib/dpkg/info/libexpat1:amd64.list&#160; doesn&#039;t actually exist:</p><div class="codebox"><pre><code># ls -l /var/lib/dpkg/info/ | grep libexpat
-rw-r--r-- 1 root root     434 Sep 19  2019 libexpat1:amd64.md5sums.bak
-rw-r--r-- 1 root root     110 Sep 19  2019 libexpat1:amd64.shlibs.bak
-rw-r--r-- 1 root root    5823 Sep 19  2019 libexpat1:amd64.symbols.bak
-rw-r--r-- 1 root root      67 Sep 19  2019 libexpat1:amd64.triggers.bak</code></pre></div><p>(the .bak extensions are mine, I moved them as suggested, so it&#039;s fairly easy to restore)</p><p>The machine is my file/backup server, not my daily-driver desktop. That one is quite alright and updated just fine as I&#039;d mentioned before.</p><p>The system drive for the server is /dev/sdc, the other 4 are HDD&#039;s for the RAID6. here&#039;s smartctl:</p><div class="codebox"><pre class="vscroll"><code>smartctl -a /dev/sdc
smartctl 6.6 2017-11-05 r4594 [x86_64-linux-4.19.0-18-amd64] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     JMicron based SSDs
Device Model:     KINGSTON SV100S2128G
Serial Number:    08BA90006616
Firmware Version: D100811a
User Capacity:    128,035,676,160 bytes [128 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    Solid State Device
Form Factor:      2.5 inches
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS (minor revision not indicated)
SATA Version is:  SATA 2.6, 3.0 Gb/s
Local Time is:    Sat Nov 27 16:54:30 2021 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
&lt;SNIPPED&gt;

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000b   100   100   050    Pre-fail  Always       -       0
  2 Throughput_Performance  0x0005   100   100   050    Pre-fail  Offline      -       0
  3 Unknown_JMF_Attribute   0x0007   100   100   050    Pre-fail  Always       -       0
  5 Reallocated_Sector_Ct   0x0013   100   100   050    Pre-fail  Always       -       0
  7 Unknown_JMF_Attribute   0x000b   100   100   050    Pre-fail  Always       -       0
  8 Unknown_JMF_Attribute   0x0005   100   100   050    Pre-fail  Offline      -       0
  9 Power_On_Hours          0x0012   100   100   000    Old_age   Always       -       36710
 10 Unknown_JMF_Attribute   0x0013   100   100   050    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0012   100   100   000    Old_age   Always       -       2380
168 SATA_Phy_Error_Count    0x0012   100   100   000    Old_age   Always       -       3
175 Bad_Cluster_Table_Count 0x0003   100   100   010    Pre-fail  Always       -       30
192 Unexpect_Power_Loss_Ct  0x0012   100   100   000    Old_age   Always       -       0
194 Temperature_Celsius     0x0022   025   100   020    Old_age   Always       -       25 (Min/Max 25/40)
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       0
240 Unknown_JMF_Attribute   0x0013   100   100   050    Pre-fail  Always       -       0
170 Bad_Block_Count         0x0003   100   100   010    Pre-fail  Always       -       0 309 0
173 Erase_Count             0x0012   100   100   000    Old_age   Always       -       5 13136 9594

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%     19688         -
# 2  Short offline       Completed without error       00%     19622         -

Selective Self-tests/Logging not supported</code></pre></div><p>A bit long, sorry. The file system (JFS) is fine, it&#039;s checked on every boot, last reboot was just 7 days ago. The drive is relatively old, re-used and replaced an even older drive (which had 60+k hours on it) and I may replace it with a newer one, although I&#039;m hoping to upgrade the hardware and get an NVMe drive for it instead. (this older system can&#039;t boot from NVMe, so that&#039;s why it uses a SATA drive)</p>]]></description>
			<author><![CDATA[dummy@example.com (Dutch_Master)]]></author>
			<pubDate>Sat, 27 Nov 2021 16:06:36 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=33030#p33030</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] [Beowulf] eudev upgrade failed]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=33028#p33028</link>
			<description><![CDATA[<p>Check the filesystem and the health of the drive. It must be corruption.</p><p>Super hack:</p><div class="codebox"><pre><code>for file in /var/lib/dpkg/info/?*.list ; do sudo tee -a &quot;$file&quot; &lt;&lt;&lt;$(printf &#039;\n&#039;) ; done</code></pre></div><p>^ That adds a newline to every .list file. I would say backup before trying it but your system doesn&#039;t appear to be functional so that&#039;s probably pointless.</p><p>Do you have a backup from before these problems started?</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Sat, 27 Nov 2021 15:25:16 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=33028#p33028</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] [Beowulf] eudev upgrade failed]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=33027#p33027</link>
			<description><![CDATA[<p>Update: it failed, I still get the error:</p><div class="codebox"><pre><code>dpkg: unrecoverable fatal error, aborting:
 files list file for package &#039;console-setup&#039; is missing final newline</code></pre></div><p>Reinstalling console-setup didn&#039;t help either. Purging libexpat1 will remove 122 packages depending on it, via the dependency chain on dbus, so that&#039;s not really an option.</p><p>That said, it&#039;s now affecting the upgrading of other packages as apt, as well as aptitude, will clonk out with the above error and not upgrade other packages <strong>at all</strong>.</p><p>For completeness:</p><div class="codebox"><pre><code>apt policy libexpat1 console-setup
libexpat1:
  Installed: 2.2.6-2+deb10u1
  Candidate: 2.2.6-2+deb10u1
  Version table:
 *** 2.2.6-2+deb10u1 500
        500 http://pkgmaster.devuan.org/merged beowulf/main amd64 Packages
        500 http://pkgmaster.devuan.org/merged beowulf-security/main amd64 Packages
        100 /var/lib/dpkg/status
console-setup:
  Installed: 1.193~deb10u1
  Candidate: 1.193~deb10u1
  Version table:
 *** 1.193~deb10u1 500
        500 http://pkgmaster.devuan.org/merged beowulf/main amd64 Packages
        100 /var/lib/dpkg/status</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (Dutch_Master)]]></author>
			<pubDate>Sat, 27 Nov 2021 15:12:57 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=33027#p33027</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] [Beowulf] eudev upgrade failed]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=32976#p32976</link>
			<description><![CDATA[<p>Thx, I&#039;ll give it a try later.</p>]]></description>
			<author><![CDATA[dummy@example.com (Dutch_Master)]]></author>
			<pubDate>Tue, 23 Nov 2021 15:56:07 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=32976#p32976</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] [Beowulf] eudev upgrade failed]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=32969#p32969</link>
			<description><![CDATA[<p>It&#039;s a dirty hack but you could (re)move /var/lib/dpkg/info/libexpat1:amd64.list out of the way and run the upgrade again.</p><p>I would suspect file corruption in this case but that&#039;s just a guess.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Tue, 23 Nov 2021 13:57:21 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=32969#p32969</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] [Beowulf] eudev upgrade failed]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=32941#p32941</link>
			<description><![CDATA[<p>Hmmm, oddly enough, upgrading the exact same packages on my desktop went flawlessly. Difference: I used apt on the server and aptitude on the desktop.</p>]]></description>
			<author><![CDATA[dummy@example.com (Dutch_Master)]]></author>
			<pubDate>Sat, 20 Nov 2021 17:45:15 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=32941#p32941</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] [Beowulf] eudev upgrade failed]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=32940#p32940</link>
			<description><![CDATA[<p>Typo?</p>]]></description>
			<author><![CDATA[dummy@example.com (golinux)]]></author>
			<pubDate>Sat, 20 Nov 2021 17:21:19 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=32940#p32940</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] [Beowulf] eudev upgrade failed]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=32939#p32939</link>
			<description><![CDATA[<p>I still get the same error. Key is this line:</p><div class="codebox"><pre><code>files list file for package &#039;console-setup&#039; is missing final newline</code></pre></div><p>Thx for replying!</p>]]></description>
			<author><![CDATA[dummy@example.com (Dutch_Master)]]></author>
			<pubDate>Sat, 20 Nov 2021 17:01:48 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=32939#p32939</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] [Beowulf] eudev upgrade failed]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=32937#p32937</link>
			<description><![CDATA[<p>this doesn&#039;t look related to eudev upgrade. probably apt or some package error..:</p><div class="quotebox"><blockquote><div><p>files list file for package &#039;libexpat1:amd64&#039; missing; assuming package has no files currently installed<br />files list file for package &#039;console-setup&#039; is missing final newline</p></div></blockquote></div><p>i would suggest apt update &amp; apt -f install. then check status of those packages. from a personal fully upgraded beowulf vps :</p><div class="codebox"><pre><code>apt policy libexpat1
libexpat1:
  Installed: 2.2.6-2+deb10u1
  Candidate: 2.2.6-2+deb10u1
  Version table:
 *** 2.2.6-2+deb10u1 500
        500 http://deb.devuan.org/merged beowulf/main amd64 Packages
        500 http://deb.devuan.org/merged beowulf-security/main amd64 Packages
        100 /var/lib/dpkg/status</code></pre></div><div class="codebox"><pre><code>apt policy console-setup
console-setup:
  Installed: 1.193~deb10u1
  Candidate: 1.193~deb10u1
  Version table:
 *** 1.193~deb10u1 500
        500 http://deb.devuan.org/merged beowulf/main amd64 Packages</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (xinomilo)]]></author>
			<pubDate>Sat, 20 Nov 2021 16:24:26 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=32937#p32937</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] [Beowulf] eudev upgrade failed]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=32935#p32935</link>
			<description><![CDATA[<p>Updating my server, I got this error message:</p><div class="codebox"><pre><code>Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be upgraded:
  eudev libeudev1
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 1170 kB of archives.
After this operation, 3072 B disk space will be freed.
Get:1 http://pkgmaster.devuan.org/merged beowulf/main amd64 eudev amd64 3.2.9-10~beowulf1 [1072 kB]
Get:2 http://pkgmaster.devuan.org/merged beowulf/main amd64 libeudev1 amd64 3.2.9-10~beowulf1 [97.8 kB]
apt-listchanges: Reading changelogs...
Fetched 1170 kB in 1s (1557 kB/s)
(Reading database ...
dpkg: warning: files list file for package &#039;libexpat1:amd64&#039; missing; assuming package has no files currently installed
dpkg: unrecoverable fatal error, aborting:
 files list file for package &#039;console-setup&#039; is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (2)</code></pre></div><p>Yes, I&#039;m using pkgmaster as other entries in sources.list failed me too many times. Things may have improved since, so I might give it a try again.</p>]]></description>
			<author><![CDATA[dummy@example.com (Dutch_Master)]]></author>
			<pubDate>Sat, 20 Nov 2021 07:50:52 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=32935#p32935</guid>
		</item>
	</channel>
</rss>
