Public bug reported: In packages.ubuntu.com, for focal 20.04 release. https://packages.ubuntu.com/focal/all/rust-src/filelist
reading through the list of installed files, it looks the package ``1.47.0+dfsg1+llvm-1ubuntu1~20.04.1`` 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/rustc-1.41.0/src/libcore/alloc.rs rust-src: /usr/src/rustc-1.41.0/src/libcore/any.rs rust-src: /usr/src/rustc-1.41.0/src/libcore/array/iter.rs rust-src: /usr/src/rustc-1.41.0/src/libcore/array/mod.rs rust-src: /usr/src/rustc-1.41.0/src/libcore/ascii.rs rust-src: /usr/src/rustc-1.41.0/src/libcore/benches/any.rs rust-src: /usr/src/rustc-1.41.0/src/libcore/benches/ascii.rs [...] ``` ( I am cutting out a long list of files in the libcore subfolder) while with dpkg ``` $ dpkg -L rust-src | grep libcore /usr/src/rustc-1.47.0/src/doc/edition-guide/src/rust-2018/platform-and-target-support/libcore-for-low-level-rust.md /usr/src/rustc-1.47.0/src/etc/natvis/libcore.natvis /usr/src/rustc-1.47.0/src/test/ui/consts/const-eval/const_panic_libcore.rs /usr/src/rustc-1.47.0/src/test/ui/consts/const-eval/const_panic_libcore.stderr /usr/src/rustc-1.47.0/src/test/ui/consts/const-eval/const_panic_libcore_main.rs /usr/src/rustc-1.47.0/src/test/ui/consts/const-eval/const_panic_libcore_main.stderr /usr/src/rustc-1.47.0/src/test/ui/consts/unstable-const-fn-in-libcore.rs /usr/src/rustc-1.47.0/src/test/ui/consts/unstable-const-fn-in-libcore.stderr /usr/src/rustc-1.47.0/src/test/ui/threads-sendsync/sync-send-iterators-in-libcore.rs /usr/src/rustc-1.47.0/src/test/ui/variance-iterators-in-libcore.rs ``` no trace of any libcore subfolder to prove ``dpkg`` is the one telling the truth ``` $ ls /usr/src/ -1 linux-headers-5.4.0-66 linux-headers-5.4.0-66-generic linux-headers-5.4.0-67 linux-headers-5.4.0-67-generic rustc-1.47.0 ``` no trace of any ``rustc-1.41`` folder also: ``` $ dpkg-deb -c /var/cache/apt/archives/rust-src_1.47.0+dfsg1+llvm-1ubuntu1~20.04.1_all.deb | grep libcore -rw-r--r-- root/root 1079 2020-10-07 10:04 ./usr/src/rustc-1.47.0/src/doc/edition-guide/src/rust-2018/platform-and-target-support/libcore-for-low-level-rust.md -rw-r--r-- root/root 1607 2020-10-07 09:53 ./usr/src/rustc-1.47.0/src/etc/natvis/libcore.natvis -rw-r--r-- root/root 315 2020-10-07 09:53 ./usr/src/rustc-1.47.0/src/test/ui/consts/const-eval/const_panic_libcore.rs -rw-r--r-- root/root 1320 2020-10-07 09:53 ./usr/src/rustc-1.47.0/src/test/ui/consts/const-eval/const_panic_libcore.stderr -rw-r--r-- root/root 486 2020-10-07 09:53 ./usr/src/rustc-1.47.0/src/test/ui/consts/const-eval/const_panic_libcore_main.rs -rw-r--r-- root/root 1352 2020-10-07 09:53 ./usr/src/rustc-1.47.0/src/test/ui/consts/const-eval/const_panic_libcore_main.stderr -rw-r--r-- root/root 839 2020-10-07 09:53 ./usr/src/rustc-1.47.0/src/test/ui/consts/unstable-const-fn-in-libcore.rs -rw-r--r-- root/root 1075 2020-10-07 09:53 ./usr/src/rustc-1.47.0/src/test/ui/consts/unstable-const-fn-in-libcore.stderr -rw-r--r-- root/root 2578 2020-10-07 09:53 ./usr/src/rustc-1.47.0/src/test/ui/threads-sendsync/sync-send-iterators-in-libcore.rs -rw-r--r-- root/root 244 2020-10-07 09:53 ./usr/src/rustc-1.47.0/src/test/ui/variance-iterators-in-libcore.rs ``` ** Affects: rustc (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1920018 Title: inconsistent file list / missing libcore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rustc/+bug/1920018/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs