package r8168-dkms 8.049.02-1ubuntu1 failed to install/upgrade: »installiertes r8168-dkms-Skript des Paketes post-installation«-Unterprozess gab den Fehlerwert 10 zurück
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
r8168 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
issue arises during update
ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: r8168-dkms 8.049.02-1ubuntu1
ProcVersionSign
Uname: Linux 5.13.0-51-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckR
Date: Sun Jun 19 10:37:53 2022
DistributionCha
# This is a distribution channel descriptor
# For more information see http://
canonical-
ErrorMessage: »installiertes r8168-dkms-Skript des Paketes post-installati
InstallationDate: Installed on 2018-01-14 (1616 days ago)
InstallationMedia: Ubuntu 12.04 "Precise" - Build amd64 LIVE Binary 20121101-11:02
PackageArchitec
Python3Details: /usr/bin/
PythonDetails: /usr/bin/python2.7, Python 2.7.18, python-is-python2, 2.7.18-9
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageV
dpkg 1.21.1ubuntu2.1
apt 2.4.5
SourcePackage: r8168
Title: package r8168-dkms 8.049.02-1ubuntu1 failed to install/upgrade: »installiertes r8168-dkms-Skript des Paketes post-installati
UpgradeStatus: No upgrade log present (probably fresh install)
Same problem here. Here is the log file: 76051810- generic (x86_64) linux-headers- 5.18.10- 76051810- generic' dkms/r8168/ 8.049.02/ build/r8168_ n.o dkms/r8168/ 8.049.02/ build/r8168_ asf.o dkms/r8168/ 8.049.02/ build/rtl_ eeprom. o dkms/r8168/ 8.049.02/ build/rtltool. o dkms/r8168/ 8.049.02/ build/r8168_ n.c: In function ‘rtl8168_ mac_loopback_ test’: dkms/r8168/ 8.049.02/ build/r8168_ n.c:3668: 17: error: implicit declaration of function ‘pci_dma_ sync_single_ for_device’ ; did you mean ‘dma_sync_ single_ for_device’ ? [-Werror= implicit- function- declaration] sync_single_ for_device( tp->pci_ dev, ~~~~~~~ ~~~~~~~ ~~~~~~~ ~~ single_ for_device dkms/r8168/ 8.049.02/ build/r8168_ n.c: In function ‘rtl8168_ get_mac_ address’ : dkms/r8168/ 8.049.02/ build/r8168_ n.c:24140: 34: error: assignment of read-only location ‘*(dev->dev_addr + (sizetype)i)’ linux/string. h:253,
from ./include/ linux/bitmap. h:11,
from ./include/ linux/cpumask. h:12,
from ./arch/ x86/include/ asm/cpumask. h:5,
from ./arch/ x86/include/ asm/msr. h:11,
from ./arch/ x86/include/ asm/processor. h:22,
from ./arch/ x86/include/ asm/timex. h:5,
from ./include/ linux/timex. h:67,
from ./include/ linux/time32. h:13,
from ./include/ linux/time. h:60,
from ./include/ linux/stat. h:19,
from ./include/ linux/module. h:13,
from /var/lib/ dkms/r8168/ 8.049.02/ build/r8168_ n.c:43: dkms/r8168/ 8.049.02/ build/r8168_ n.c: In function ‘rtl8168_ set_mac_ address’ : dkms/r8168/ 8.049.02/ build/r8168_ n.c:24171: 19: warning: passing argument 1 of ‘__builtin_memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded- qualifiers] dev->dev_ addr, addr->sa_data, dev->addr_len); linux/fortify- string. h:362:27: note: in definition of macro ‘__fortify_ memcpy_ chk’ ##op(p, q, __fortify_size); \ dkms/r8168/ 8.049.02/ build/r8168_ n.c:24171: 9: note: in expansion of macro ‘memcpy’ dev->dev_ addr, addr->sa_data, dev->addr_len); dkms/r8168/ 8.049.02/ build/r8168_ n.c:24171: 19: note: expected ‘void *’ but argument is of type ‘const unsigned char *’ dev->dev_ addr, addr->sa_data, dev->addr_len); linux/fortify- string. h:362:27: note: in definition of macro ‘__fortify_ memcpy_ chk’ ##op(p, q, __fortify_size); \ dkms/r8168/ 8.049.02/ build/r816. ..
DKMS make.log for r8168-8.049.02 for kernel 5.18.10-
Fri 09 Sep 2022 12:38:04 PM CDT
make: Entering directory '/usr/src/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
/var/lib/
/var/lib/
3668 | pci_dma_
| ^~~~~~~
| dma_sync_
/var/lib/
/var/lib/
24140 | dev->dev_addr[i] = RTL_R8(tp, MAC0 + i);
| ^
In file included from ./include/
/var/lib/
/var/lib/
24171 | memcpy(
| ~~~^~~~~~~~~~
./include/
362 | __underlying_
| ^
/var/lib/
24171 | memcpy(
| ^~~~~~
/var/lib/
24171 | memcpy(
| ~~~^~~~~~~~~~
./include/
362 | __underlying_
| ^
/var/lib/