Broken links in various places

Bug #644291 reported by Gabor Kelemen on 2010-09-21
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-docs (Ubuntu)
Medium
Gabor Kelemen
Natty
Medium
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="http://manpages.ubuntu.com/manpages/maverick/en/man8/brctl.8.html">brctl man page</ulink> and the Linux Foundation's <ulink url="http://www.linuxfoundation.org/en/Net:Bridge">Net:Bridge</ulink> page.
Located in serverguide/C/network-config.xml:603(para)

This redirects to http://www.linuxfoundation.org/collaborate/workgroups/networking/bridge - works, but still...

See the <ulink url="http://www.novell.com/documentation/apparmor/apparmor201_sp10_admin/index.html?page=/documentation/apparmor/apparmor201_sp10_admin/data/book_apparmor_admin.html">AppArmor Administration Guide</ulink> for advanced configuration options.
Located in serverguide/C/security.xml:1209(para)

This is 404, a working one: http://www.novell.com/documentation/apparmor/book_apparmor21_admin/?page=/documentation/apparmor/book_apparmor21_admin/data/book_apparmor_admin.html
OR: http://www.novell.com/documentation/apparmor/

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

This was moved to: http://en.opensuse.org/SDB:AppArmor

The Debian Package of the Day <ulink url="http://debaday.debian.net/2007/10/04/weather-check-weather-conditions-and-forecasts-on-the-command-line/">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 fix-urls.sh 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.

http://doc.ubuntu.com/ubuntu/newtoubuntu/C/updates.html
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"

http://doc.ubuntu.com/ubuntu/newtoubuntu/C/music-video.html
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"

http://doc.ubuntu.com/ubuntu/newtoubuntu/C/updates.html
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"

http://doc.ubuntu.com/ubuntu/hardware/C/input-devices.html
Touchpads
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.

http://doc.ubuntu.com/ubuntu/newtoubuntu/C/music-video.html
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"

http://doc.ubuntu.com/ubuntu/newtoubuntu/C/music-video.html
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"

http://doc.ubuntu.com/ubuntu/newtoubuntu/C/connecting.html
For further reading or troubleshooting see Internet and Networks.
+ sed -i build/$y/$lang/*.html -e "s#ghelp:internet#\.\./\.\./internet/$lang/#g"

http://doc.ubuntu.com/ubuntu/desktop-effects/C/compiz-default-plugins.html
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"

http://doc.ubuntu.com/ubuntu/hardware/C/input-devices.html
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...

Read more...

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