This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=798ff3a0bf4d783a32626c5c33378e11a67f92dd

commit 798ff3a0bf4d783a32626c5c33378e11a67f92dd
Author: Guillem Jover <guil...@debian.org>
AuthorDate: Wed Dec 29 20:29:14 2021 +0100

    Use anchor links for the dpkg FAQ URLs
    
    This adds a reference to the specific entry, otherwise it might not be
    obvious which one we are talking about. And uses shorter links that fit
    better on narrow outputs and are more easily recalled.
---
 lib/dpkg/file.c             | 6 +++---
 man/dpkg-fsys-usrunmess.pod | 2 +-
 man/dpkg.pod                | 3 ++-
 src/main/select.c           | 2 +-
 4 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/lib/dpkg/file.c b/lib/dpkg/file.c
index ceda51047..31483ef30 100644
--- a/lib/dpkg/file.c
+++ b/lib/dpkg/file.c
@@ -195,9 +195,9 @@ file_lock(int *lockfd, enum file_lock_flags flags, const 
char *filename,
                        ohshite(_("unable to lock %s"), desc);
 
                warnmsg = _("Note: removing the lock file is always wrong, "
-                           "and can end up damaging the\n"
-                           "locked area and the entire system. "
-                           "See <https://wiki.debian.org/Teams/Dpkg/FAQ>.");
+                           "can damage the locked area\n"
+                           "and the entire system. "
+                           "See 
<https://wiki.debian.org/Teams/Dpkg/FAQ#db-lock>.");
 
                file_lock_setup(&fl, F_WRLCK);
                if (fcntl(*lockfd, F_GETLK, &fl) == -1)
diff --git a/man/dpkg-fsys-usrunmess.pod b/man/dpkg-fsys-usrunmess.pod
index d4857ba83..45b3f080b 100644
--- a/man/dpkg-fsys-usrunmess.pod
+++ b/man/dpkg-fsys-usrunmess.pod
@@ -161,4 +161,4 @@ This setting defines whether to enable dry-run mode.
 
 =head1 SEE ALSO
 
-L<https://wiki.debian.org/Teams/Dpkg/FAQ#Q:_Does_dpkg_support_merged-.2Fusr-via-aliased-dirs.3F>.
+L<https://wiki.debian.org/Teams/Dpkg/FAQ#broken-usrmerge>.
diff --git a/man/dpkg.pod b/man/dpkg.pod
index 9993468b6..aac60be75 100644
--- a/man/dpkg.pod
+++ b/man/dpkg.pod
@@ -1413,7 +1413,8 @@ To make a local copy of the package selection states:
 
 You might transfer this file to another computer, and after having updated
 the I<available> file there with your package manager frontend of choice
-(see L<https://wiki.debian.org/Teams/Dpkg/FAQ> for more details), for example:
+(see L<https://wiki.debian.org/Teams/Dpkg/FAQ#set-selections> for more
+details), for example:
 
 =over
 
diff --git a/src/main/select.c b/src/main/select.c
index 8ff392938..de8febd3d 100644
--- a/src/main/select.c
+++ b/src/main/select.c
@@ -203,7 +203,7 @@ setselections(const char *const *argv)
   if (db_possibly_outdated)
     warning(_("found unknown packages; this might mean the available 
database\n"
               "is outdated, and needs to be updated through a frontend 
method;\n"
-              "please see the FAQ <https://wiki.debian.org/Teams/Dpkg/FAQ>"));
+              "please see the FAQ 
<https://wiki.debian.org/Teams/Dpkg/FAQ#set-selections>"));
 
   return 0;
 }

-- 
Dpkg.Org's dpkg

Reply via email to