broken symlink to changelog.Debian.gz in chromium-browser

Bug #1818987 reported by wdoekes on 2019-03-07
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
chromium-browser (Ubuntu)
Low
Unassigned

Bug Description

Related to https://bugs.launchpad.net/ubuntu/+source/cdbs/+bug/194574, which has to do with saving space, for some reason, the chromium-browser has its changelog symlinked to an optional package.

Version: 72.0.3626.119-0ubuntu0.18

Right now, I have chromium-codecs-ffmpeg installed, but the changelog links to documentation in chromium-codecs-ffmpeg-extra.

```
$ dpkg -L chromium-browser | grep changelog.Debian
/usr/share/doc/chromium-browser/changelog.Debian.gz

$ dpkg -l | grep chromium-
ii chromium-browser 72.0.3626.119-0ubuntu0.18.04.1 amd64 Chromium web browser, open-source version of Chrome
ii chromium-codecs-ffmpeg 72.0.3626.119-0ubuntu0.18.04.1 amd64 Free ffmpeg codecs for the Chromium Browser

$ ls -l /usr/share/doc/chromium-browser/changelog.Debian.gz
lrwxrwxrwx 1 root root 51 feb 25 15:56 /usr/share/doc/chromium-browser/changelog.Debian.gz -> ../chromium-codecs-ffmpeg-extra/changelog.Debian.gz

$ ls -l ../chromium-codecs-ffmpeg-extra/changelog.Debian.gz
ls: cannot access '../chromium-codecs-ffmpeg-extra/changelog.Debian.gz': No such file or directory
```

I don't think saving 2k warrants breaking sane access to the changelog:
```
$ ls -l /usr/share/doc/chromium-browser/
total 1108
lrwxrwxrwx 1 root root 51 feb 25 15:56 changelog.Debian.gz -> ../chromium-codecs-ffmpeg-extra/changelog.Debian.gz
-rw-r--r-- 1 root root 1126239 okt 25 2017 copyright
-rw-r--r-- 1 root root 2512 okt 25 2017 copyright.problems.gz
-rw-r--r-- 1 root root 2975 okt 25 2017 README.source

$ ls -l /usr/share/doc/chromium-codecs-ffmpeg/
total 1104
-rw-r--r-- 1 root root 2263 feb 25 15:56 changelog.Debian.gz
-rw-r--r-- 1 root root 1126239 okt 25 2017 copyright
```

That copyright file takes up actual space but is not symlinked, :thinking_face:
```
$ md5sum /usr/share/doc/chromium-{browser,codecs-ffmpeg}/copyright
983091d3a4c4e207f2146a911a7f7387 /usr/share/doc/chromium-browser/copyright
983091d3a4c4e207f2146a911a7f7387 /usr/share/doc/chromium-codecs-ffmpeg/copyright
```

If anything, I would guess that the symlink should be the other way around:

- chromium-codecs-ffmpeg/changelog.Debian.gz symlinked to ../chromium-browser/changelog.Debian.gz
- chromium-codecs-ffmpeg-extra/changelog.Debian.gz symlinked to ../chromium-browser/changelog.Debian.gz

(And optionally that copyright file as well.)

Cheers,
Walter Doekes
OSSO B.V.

wdoekes (walter+ubuntu) on 2019-03-07
affects: cdbs (Ubuntu) → chromium-browser (Ubuntu)
Olivier Tilloy (osomon) wrote :

Not seeing that here, neither in bionic nor in disco. The changelog and copyright files installed by chromium-codecs-ffmpeg are actual files, not symbolic links:

ubuntu@bionicvm:~$ apt policy chromium-codecs-ffmpeg
chromium-codecs-ffmpeg:
  Installed: 73.0.3683.75-0ubuntu0.18.04.1
  Candidate: 73.0.3683.75-0ubuntu0.18.04.1
  Version table:
 *** 73.0.3683.75-0ubuntu0.18.04.1 500
        500 http://es.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages
        100 /var/lib/dpkg/status
     65.0.3325.181-0ubuntu1 500
        500 http://es.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
ubuntu@bionicvm:~$ dpkg -L chromium-codecs-ffmpeg
/.
/usr
/usr/lib
/usr/lib/chromium-browser
/usr/lib/chromium-browser/libffmpeg.so
/usr/share
/usr/share/doc
/usr/share/doc/chromium-codecs-ffmpeg
/usr/share/doc/chromium-codecs-ffmpeg/changelog.Debian.gz
/usr/share/doc/chromium-codecs-ffmpeg/copyright
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/chromium-codecs-ffmpeg
ubuntu@bionicvm:~$ ls -l /usr/share/doc/chromium-codecs-ffmpeg/
total 1104
-rw-r--r-- 1 root root 2336 mar 12 21:59 changelog.Debian.gz
-rw-r--r-- 1 root root 1126239 oct 25 2017 copyright

Can you check whether version 73.0.3683.75-0ubuntu0.18.04.1 resolves the problem for you?

Changed in chromium-browser (Ubuntu):
status: New → Incomplete
wdoekes (walter+ubuntu) wrote :

Hi Oliver, thanks for checking.

That's not what I meant though:

> chromium-codecs-ffmpeg are actual files

Yes, they are. So I *do* have *a* changelog.

But the chromium-browser files are not real files, and they point to the wrong files, making it harder to find the chromium-browser changelog.

I wrote:

```
$ ls -l /usr/share/doc/chromium-browser/changelog.Debian.gz
lrwxrwxrwx 1 root root 51 feb 25 15:56
  /usr/share/doc/chromium-browser/changelog.Debian.gz
  -> ../chromium-codecs-ffmpeg-extra/changelog.Debian.gz
```

Checked again today with the newest 73.0.3683.75-0ubuntu0.18.04.1:

```
$ ls -l /usr/share/doc/chromium-browser/changelog.Debian.gz -l
lrwxrwxrwx 1 root root 51 mrt 12 21:59
  /usr/share/doc/chromium-browser/changelog.Debian.gz
  -> ../chromium-codecs-ffmpeg-extra/changelog.Debian.gz
```

It's not my system, it's really the .deb file:

```
$ dpkg-deb -c chromium-browser_73.0.3683.75-0ubuntu0.18.04.1_amd64.deb |
    grep changelog
lrwxrwxrwx root/root 0 2019-03-12 21:59
  ./usr/share/doc/chromium-browser/changelog.Debian.gz ->
  ../chromium-codecs-ffmpeg-extra/changelog.Debian.gz
```

In my system, I don't have chromium-codecs-ffmpeg-extra (only without "-extra"), so the links are dead.

Regards,
Walter

Changed in chromium-browser (Ubuntu):
status: Incomplete → New
Olivier Tilloy (osomon) wrote :

Ah, I see what you mean now, sorry I had misunderstood.

Changed in chromium-browser (Ubuntu):
status: New → Confirmed
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers