Bug 170009 - DEB installer files : dpkg: error: treewalk root <package_name>.deb is not a directory
Summary: DEB installer files : dpkg: error: treewalk root <package_name>.deb is not a ...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Installation (show other bugs)
Version:
(earliest affected)
25.8.3.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-16 18:53 UTC by Mcgiwer
Modified: 2025-12-23 13:49 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mcgiwer 2025-12-16 18:53:08 UTC
Description:
I had downloaded a fresh DEB installator package from the official LibeOffice website.

Due the attempt to install it using `dpkg`, I recieve following error message:

```
dpkg: error: treewalk root <package_name>.deb is not a directory
```

Steps to Reproduce:
1. Downloaded a fresh DEB file
2. Attempted to install using DPKG
3. Seen error

Additional steps (variant):

1. extraction of the DEB archive
2. tryed to install any of the packages in the DEBS folder
3. seeing same error message

Actual Results:
dpkg: error: treewalk root <package_name>.deb is not a directory

Expected Results:
Sucessfull installation of LibreOffice


Reproducible: Always


User Profile Reset: No

Additional Info:
OS: Debian
Codename: trixie
Comment 1 fpy 2025-12-16 19:59:33 UTC
missing sudo ?

please provide the exact steps (especially command line) to reproduce ...
and most importantly, follow the directions, e.g. 
https://ask.libreoffice.org/t/version-28-x-x-of-libreoffice-wont-install/129003/4


ps.
  https://wiki.documentfoundation.org/QA/BugReport#Status
Comment 2 Mcgiwer 2025-12-16 20:07:44 UTC
(In reply to fpy from comment #1)
> missing sudo ?

no, I had runned it while beeing already logged-in as root, so additionally using sudo would me not needed

> please provide the exact steps (especially command line) to reproduce ...
> and most importantly, follow the directions, e.g. 
> https://ask.libreoffice.org/t/version-28-x-x-of-libreoffice-wont-install/
> 129003/4

Command line: dpkg -i <package_name>.deb
Comment 3 QA Administrators 2025-12-17 03:12:39 UTC Comment hidden (obsolete)
Comment 4 Werner Tietz 2025-12-17 12:21:07 UTC
(In reply to Mcgiwer from comment #2)

> 
> Command line: dpkg -i <package_name>.deb

the command should be:

sudo dpkg -i *.deb

to install ALL the …deb -files!
Comment 5 Mcgiwer 2025-12-17 12:44:52 UTC
(In reply to Werner Tietz from comment #4)

> the command should be:
> 
> sudo dpkg -i *.deb
> 
> to install ALL the …deb -files!

Hey. The "<packname>.deb" was used as placeholder.

After downloading the package, I had renamed it into "*.deb".

As for the verification (after extracting the donloaded DEB package), I tryed both:

- using the command like you gave it
- usung the "for" loop
Comment 6 fpy 2025-12-17 19:16:52 UTC
(In reply to Mcgiwer from comment #5)
> After downloading the package, I had renamed it into "*.deb".

what?


could you please go and read the previously mentioned topic :

> https://ask.libreoffice.org/t/version-28-x-x-of-libreoffice-wont-install/129003/4

first link being : https://wiki.documentfoundation.org/Documentation/Install/Linux#Graphic_Installation_(Preferred_Way)

which says ** Unpacking the Tarball **
(and not "rename")
Comment 7 Mcgiwer 2025-12-19 12:27:06 UTC
(In reply to fpy from comment #6)
> (In reply to Mcgiwer from comment #5)
> > After downloading the package, I had renamed it into "*.deb".
> 
> what?
> 
> 
> could you please go and read the previously mentioned topic :
> 
> > https://ask.libreoffice.org/t/version-28-x-x-of-libreoffice-wont-install/129003/4
> 
> first link being :
> https://wiki.documentfoundation.org/Documentation/Install/
> Linux#Graphic_Installation_(Preferred_Way)
> 
> which says ** Unpacking the Tarball **
> (and not "rename")

Please read my first message (and the comment with clarification) with better understand
In the section "Additional steps (variant)" I wrote exactly that after extracting of the downloaded file, I tryed to install one of the "lib" packages and I had rwcievd the same message
Comment 8 QA Administrators 2025-12-20 03:12:26 UTC Comment hidden (obsolete)
Comment 9 fpy 2025-12-23 10:19:24 UTC
(In reply to Mcgiwer from comment #7)
> exactly 

so far, deb packages are ok.
and since there's no clue what trixie version you have,
how/why you log as root, 
no one else reported such a problem, ...
will be difficult to go futher with this ticket.

hope you can solve your issue and close it here.
Comment 10 Mcgiwer 2025-12-23 13:47:19 UTC
(In reply to fpy from comment #9)
> (In reply to Mcgiwer from comment #7)
> > exactly 
> 
> so far, deb packages are ok.
> and since there's no clue what trixie version you have,
> how/why you log as root, 
> no one else reported such a problem, ...
> will be difficult to go futher with this ticket.
> 
> hope you can solve your issue and close it here.


Please keep the issue open. Till 28 Dec I'm aboard and the filed
Comment 11 Mcgiwer 2025-12-23 13:49:24 UTC
Sorry, my message got mailformed due sending. It should be:

Please keep the iasue open. Till 28 Dec I'm aboard and are unable to access the files