Variable $buf not initialized on 2.27 version

Bug #1899498 reported by LAPSupportIT
This bug affects 3 people
Affects Status Importance Assigned to Milestone
debmirror (Ubuntu)

Bug Description

When using debmirror to create a Debian local repository, here's the error encountered :

Use of uninitialized value $buf in concatenation (.) or string at /home/svc_debmirror/bin/debmirror line 2163, <RELEASE> line 1.

Command line used to generate the mirror :

debmirror -a amd64 -d stable,stable-updates,buster,buster-updates --nosource -h \
--method=http --rsync-extra=none --i18n --di-dist=buster \
--progress /var/lib/rmt/public/repo/debian

thank you.

Tags: patch
Revision history for this message
Valters Jansons (sigv) wrote :

This was resolved in upstream commit b50e8880 ( and released as part of version 1:2.28. This resolution is already available as part of the 1:2.33 merge included in Ubuntu Hirsute (21.04).

Considering this does not block execution and instead serves as a warning (as Perl simply assumes an empty/0-length initial string for the uninitialized value), this does not appear to directly warrant an SRU (no security vulnerability, no severe regression, no loss of user data, no changes in the environment).

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in debmirror (Ubuntu):
status: New → Confirmed
Valters Jansons (sigv)
summary: - Variable $buf not initialized on 2.7 version
+ Variable $buf not initialized on 2.27 version
Revision history for this message
Valters Jansons (sigv) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "b50e8880.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.