Broken links in various places

Bug #644291 reported by Gabor Kelemen on 2010-09-21
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-docs (Ubuntu)
Gabor Kelemen
Gabor Kelemen

Bug Description

Binary package hint: ubuntu-docs

After running linkchecker on our version of the Ubuntu docs 10.10, we found a few broken links in various places:

For more information on <emphasis>bridging</emphasis> see the <ulink url="">brctl man page</ulink> and the Linux Foundation's <ulink url="">Net:Bridge</ulink> page.
Located in serverguide/C/network-config.xml:603(para)

This redirects to - works, but still...

See the <ulink url="">AppArmor Administration Guide</ulink> for advanced configuration options.
Located in serverguide/C/security.xml:1209(para)

This is 404, a working one:

The <ulink url="">OpenSUSE AppArmor</ulink> page is another introduction to AppArmor.
Located in serverguide/C/security.xml:1224(para)

This was moved to:

The Debian Package of the Day <ulink url="">weather</ulink> article has more details about using the <application>weather</application>utility.
Located in serverguide/C/other-apps.xml:340(para)

Seems that this debaday site ceased to exist.

Related branches

Gabor Kelemen (kelemeng) wrote :
Download full text (4.7 KiB)

There were some more broken links found. The reasons for these being broken is not in the source, but in the script. Attached patch fixes all of these. Below is a listing of pages, sentences with faulty links, and the line of the patch that fixes it. The problem is usually that there is no command to replace the given ghelp:, and sometimes another command replaces the first part of the ghelp.
For further reading on keeping your computer up to date and other computer safety tips, see Keeping Your Computer Safe.
+ sed -i build/$y/$lang/*.html -e "s#ghelp:about-ubuntu#\.\./\.\./about-ubuntu/$lang/#g"
Music and video files require special software to play them, called codecs. Some codecs (for example those required to play MP3s) are not included by default in Ubuntu because they are proprietary.
+ sed -i build/$y/$lang/*.html -e "s#ghelp:add-applications\#restricted-software#\.\./\.\./add-applications/$lang/restricted-software.html#g"
For further reading on keeping your computer up to date and other computer safety tips, see Keeping Your Computer Safe.
+ sed -i build/$y/$lang/*.html -e "s#ghelp:keeping-safe#\.\./\.\./keeping-safe/$lang/#g"
Information on changing the settings of a laptop touchpad.
- sed -i build/$y/$lang/*.html -e "s#ghelp:hardware\#laptops-touchpads#\.\./\.\./office/$lang/laptops.html#g"
+ sed -i build/$y/$lang/*.html -e "s#ghelp:hardware\#laptops-touchpads#\.\./\.\./hardware/$lang/laptops.html#g"
The command replaces the ghelp: to point to the wrong page.
This will also add support for websites which use Flash video.
+ sed -i build/$y/$lang/*.html -e "s#ghelp:musicvideophotos\#video-playback-flash#\.\./\.\./musicvideophotos/$lang/video-playback.html\#video-playback-flash#g"
For more instructions about playing music and videos, see Music, Video and Photos.
+ sed -i build/$y/$lang/*.html -e "s#ghelp:musicvideophotos#\.\./\.\./musicvideophotos/$lang/#g"
For further reading or troubleshooting see Internet and Networks.
+ sed -i build/$y/$lang/*.html -e "s#ghelp:internet#\.\./\.\./internet/$lang/#g"
The Viewport Switcher is used to switch workspaces via different keystrokes and buttons. You can use it with the middle mouse button on the desktop and by pressing a keybinding and selecting a workspace number.
+ sed -i build/$y/$lang/*.html -e "s#ghelp:user-guide\#overview-workspaces#http://library\.gnome\.org/users/user-guide/stable/overview-workspaces\.html#g"
Keyboard Preferences
Change settings related to your keyboard, such as the layout of the keyboard.
- sed -i build/$y/$lang/*.html -e "s#ghelp:user-guide\#prefs-keyboard#http://library\.gnome\.org/users/user...


Connor Imes (ckimes) wrote :

Thanks for your patch, Gabor, I have applied it to the Natty dev branch, rev 590. One of the fixes was already in place, but the rest are now there as well. This should be a SRU for Maverick as well.

Changed in ubuntu-docs (Ubuntu):
assignee: nobody → Gabor Kelemen (kelemeng)
importance: Undecided → Medium
status: New → Fix Committed
Changed in ubuntu-docs (Ubuntu Maverick):
importance: Undecided → Medium
status: New → Triaged
Connor Imes (ckimes) wrote :

Gabor, I applied your patch unmodified to the Maverick branch, rev 578. It will be available in the next build for Maverick. Thanks.

Changed in ubuntu-docs (Ubuntu Maverick):
assignee: nobody → Gabor Kelemen (kelemeng)
status: Triaged → Fix Committed
Connor Imes (ckimes) on 2011-04-29
Changed in ubuntu-docs (Ubuntu):
status: Fix Committed → Fix Released
Changed in ubuntu-docs (Ubuntu Natty):
status: Fix Committed → Fix Released
Adolfo Jayme (fitojb) on 2014-01-11
no longer affects: ubuntu-docs (Ubuntu Maverick)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers