inconsistent file list / missing libcore
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rustc (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
In packages.
https:/
reading through the list of installed files, it looks the package
``1.47.
is installing source files for rustc version 1.41.
. After installing the package via apt-get
$ sudo apt-get install rust-src
I get different answers from the following commands
from ``apt-file list``
```
$ apt-file list rust-src | grep libcore
[...]
rust-src: /usr/src/
rust-src: /usr/src/
rust-src: /usr/src/
rust-src: /usr/src/
rust-src: /usr/src/
rust-src: /usr/src/
rust-src: /usr/src/
[...]
```
( I am cutting out a long list of files in the libcore subfolder)
while with dpkg
```
$ dpkg -L rust-src | grep libcore
/usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
```
no trace of any libcore subfolder
to prove ``dpkg`` is the one telling the truth
```
$ ls /usr/src/ -1
linux-headers-
linux-headers-
linux-headers-
linux-headers-
rustc-1.47.0
```
no trace of any ``rustc-1.41`` folder
also:
```
$ dpkg-deb -c /var/cache/
-rw-r--r-- root/root 1079 2020-10-07 10:04 ./usr/src/
-rw-r--r-- root/root 1607 2020-10-07 09:53 ./usr/src/
-rw-r--r-- root/root 315 2020-10-07 09:53 ./usr/src/
-rw-r--r-- root/root 1320 2020-10-07 09:53 ./usr/src/
-rw-r--r-- root/root 486 2020-10-07 09:53 ./usr/src/
-rw-r--r-- root/root 1352 2020-10-07 09:53 ./usr/src/
-rw-r--r-- root/root 839 2020-10-07 09:53 ./usr/src/
-rw-r--r-- root/root 1075 2020-10-07 09:53 ./usr/src/
-rw-r--r-- root/root 2578 2020-10-07 09:53 ./usr/src/
-rw-r--r-- root/root 244 2020-10-07 09:53 ./usr/src/
```
Status changed to 'Confirmed' because the bug affects multiple users.