public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* Issue in installing debian packages in SDK
@ 2021-02-17  7:11 Rajashree Sankar
  2021-02-17  9:01 ` Baurzhan Ismagulov
  2021-02-17 10:27 ` Jan Kiszka
  0 siblings, 2 replies; 6+ messages in thread
From: Rajashree Sankar @ 2021-02-17  7:11 UTC (permalink / raw)
  To: isar-users; +Cc: Lakshmi Natarajan


[-- Attachment #1.1: Type: text/plain, Size: 1660 bytes --]

Hello,
We tried installing  project needed debian packages in the isar sdk with
the command

*dpkg -i <pkg-name>.deb*

Below is a sample of errors we encountered related to permissions

/
*usr/bin/mandb: fopen /var/cache/man/zh_CN/28107: Permission
denied/usr/bin/mandb: fopen /var/cache/man/sv/28107: Permission denied*

We tried with sudo to solve the permission error but it did not help.
Can you guide us on how to install debian packages in SDK?
Thanks and Regards,
Rajashree Sankar

-- 
CONFIDENTIALITY
This e-mail message and any attachments thereto, is 
intended only for use by the addressee(s) named herein and may contain 
legally privileged and/or confidential information. If you are not the 
intended recipient of this e-mail message, you are hereby notified that any 
dissemination, distribution or copying of this e-mail message, and any 
attachments thereto, is strictly prohibited.  If you have received this 
e-mail message in error, please immediately notify the sender and 
permanently delete the original and any copies of this email and any prints 
thereof.
ABSENT AN EXPRESS STATEMENT TO THE CONTRARY HEREINABOVE, THIS 
E-MAIL IS NOT INTENDED AS A SUBSTITUTE FOR A WRITING.  Notwithstanding the 
Uniform Electronic Transactions Act or the applicability of any other law 
of similar substance and effect, absent an express statement to the 
contrary hereinabove, this e-mail message its contents, and any attachments 
hereto are not intended to represent an offer or acceptance to enter into a 
contract and are not otherwise intended to bind the sender, Sanmina 
Corporation (or any of its subsidiaries), or any other person or entity.

[-- Attachment #1.2: Type: text/html, Size: 1941 bytes --]

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4252 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Issue in installing debian packages in SDK
  2021-02-17  7:11 Issue in installing debian packages in SDK Rajashree Sankar
@ 2021-02-17  9:01 ` Baurzhan Ismagulov
  2021-02-17 10:27 ` Jan Kiszka
  1 sibling, 0 replies; 6+ messages in thread
From: Baurzhan Ismagulov @ 2021-02-17  9:01 UTC (permalink / raw)
  To: isar-users

On Wed, Feb 17, 2021 at 12:41:23PM +0530, Rajashree Sankar wrote:
> We tried installing  project needed debian packages in the isar sdk with
> the command
> 
> *dpkg -i <pkg-name>.deb*
> 
> Below is a sample of errors we encountered related to permissions
> 
> /
> *usr/bin/mandb: fopen /var/cache/man/zh_CN/28107: Permission
> denied/usr/bin/mandb: fopen /var/cache/man/sv/28107: Permission denied*
> 
> We tried with sudo to solve the permission error but it did not help.
> Can you guide us on how to install debian packages in SDK?

Sounds like https://bugs.launchpad.net/nexenta/+bug/335056. We should check
that /var/cache/man is recursively owned by man:man by default. If not, it's
probably a bug somewhere.

With kind regards,
Baurzhan.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Issue in installing debian packages in SDK
  2021-02-17  7:11 Issue in installing debian packages in SDK Rajashree Sankar
  2021-02-17  9:01 ` Baurzhan Ismagulov
@ 2021-02-17 10:27 ` Jan Kiszka
  2021-02-20  8:49   ` Henning Schild
  2021-03-02  2:44   ` Rajashree Sankar
  1 sibling, 2 replies; 6+ messages in thread
From: Jan Kiszka @ 2021-02-17 10:27 UTC (permalink / raw)
  To: Rajashree Sankar, isar-users; +Cc: Lakshmi Natarajan

On 17.02.21 08:11, Rajashree Sankar wrote:
> Hello,
> We tried installing  project needed debian packages in the isar sdk with
> the command
> 
> /dpkg -i <pkg-name>.deb/
> 
> Below is a sample of errors we encountered related to permissions
> 
> //usr/bin/mandb: fopen /var/cache/man/zh_CN/28107: Permission denied
> /usr/bin/mandb: fopen /var/cache/man/sv/28107: Permission denied/
> /
> /
> We tried with sudo to solve the permission error but it did not help.
> Can you guide us on how to install debian packages in SDK?

Have a look at SDK_PREINSTALL / SDK_INSTALL.

Jan

-- 
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Issue in installing debian packages in SDK
  2021-02-17 10:27 ` Jan Kiszka
@ 2021-02-20  8:49   ` Henning Schild
  2021-03-02  2:44   ` Rajashree Sankar
  1 sibling, 0 replies; 6+ messages in thread
From: Henning Schild @ 2021-02-20  8:49 UTC (permalink / raw)
  To: Rajashree Sankar; +Cc: [ext] Jan Kiszka, isar-users, Lakshmi Natarajan

Am Wed, 17 Feb 2021 11:27:06 +0100
schrieb "[ext] Jan Kiszka" <jan.kiszka@siemens.com>:

> On 17.02.21 08:11, Rajashree Sankar wrote:
> > Hello,
> > We tried installing  project needed debian packages in the isar sdk
> > with the command
> > 
> > /dpkg -i <pkg-name>.deb/
> > 
> > Below is a sample of errors we encountered related to permissions
> > 
> > //usr/bin/mandb: fopen /var/cache/man/zh_CN/28107: Permission denied
> > /usr/bin/mandb: fopen /var/cache/man/sv/28107: Permission denied/
> > /
> > /
> > We tried with sudo to solve the permission error but it did not
> > help. Can you guide us on how to install debian packages in SDK?  
> 
> Have a look at SDK_PREINSTALL / SDK_INSTALL.

Yes those are the values that should be used when you have the chance
to generate that SDK. In case you received the SDK and are writing
applications for someone else, you might find yourself in the situation
where you need to install new dependencies yourself.
Ideally that would be done with "apt-get", "dpkg -i" is really the last
resort and should be avoided

Make sure to remember which ones you need and provide that list
together with your application. It will need to go into debian/control
as runtime or build depend.

regards,
Henning

--
FOOTER I SHOULD NOT HAVE ATTACHED
secret, afraid, IMPORTANT, angry, secure
just kidding

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Issue in installing debian packages in SDK
  2021-02-17 10:27 ` Jan Kiszka
  2021-02-20  8:49   ` Henning Schild
@ 2021-03-02  2:44   ` Rajashree Sankar
  2021-03-02  6:39     ` Jan Kiszka
  1 sibling, 1 reply; 6+ messages in thread
From: Rajashree Sankar @ 2021-03-02  2:44 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: isar-users, Lakshmi Natarajan


[-- Attachment #1.1: Type: text/plain, Size: 2696 bytes --]

Hello Jan,
The SDKCHROOT_PREINSTALL worked well.I tried installing v4l utils package
but one of its dependencies(specific version) is not in debian pool.
Any help on how to solve the issue?

The error messages were
* E: Failed to fetch
http://deb.debian.org/debian/pool/main/s/systemd/udev_241-7~deb10u4_amd64.deb
<http://deb.debian.org/debian/pool/main/s/systemd/udev_241-7~deb10u4_amd64.deb>
 404  Not Found [IP: 151.101.10.132 80]*


*E: Failed to fetch
http://deb.debian.org/debian/pool/main/libj/libjpeg-turbo/libjpeg62-turbo_1.5.2-2+b1_amd64.deb
<http://deb.debian.org/debian/pool/main/libj/libjpeg-turbo/libjpeg62-turbo_1.5.2-2+b1_amd64.deb>
 404  Not Found [IP: 151.101.10.132 80]E: Some files failed to download*
Thanks and Regards,
Rajashree Sankar


On Wed, Feb 17, 2021 at 3:57 PM Jan Kiszka <jan.kiszka@siemens.com> wrote:

> On 17.02.21 08:11, Rajashree Sankar wrote:
> > Hello,
> > We tried installing  project needed debian packages in the isar sdk with
> > the command
> >
> > /dpkg -i <pkg-name>.deb/
> >
> > Below is a sample of errors we encountered related to permissions
> >
> > //usr/bin/mandb: fopen /var/cache/man/zh_CN/28107: Permission denied
> > /usr/bin/mandb: fopen /var/cache/man/sv/28107: Permission denied/
> > /
> > /
> > We tried with sudo to solve the permission error but it did not help.
> > Can you guide us on how to install debian packages in SDK?
>
> Have a look at SDK_PREINSTALL / SDK_INSTALL.
>
> Jan
>
> --
> Siemens AG, T RDA IOT
> Corporate Competence Center Embedded Linux
>

-- 
CONFIDENTIALITY
This e-mail message and any attachments thereto, is 
intended only for use by the addressee(s) named herein and may contain 
legally privileged and/or confidential information. If you are not the 
intended recipient of this e-mail message, you are hereby notified that any 
dissemination, distribution or copying of this e-mail message, and any 
attachments thereto, is strictly prohibited.  If you have received this 
e-mail message in error, please immediately notify the sender and 
permanently delete the original and any copies of this email and any prints 
thereof.
ABSENT AN EXPRESS STATEMENT TO THE CONTRARY HEREINABOVE, THIS 
E-MAIL IS NOT INTENDED AS A SUBSTITUTE FOR A WRITING.  Notwithstanding the 
Uniform Electronic Transactions Act or the applicability of any other law 
of similar substance and effect, absent an express statement to the 
contrary hereinabove, this e-mail message its contents, and any attachments 
hereto are not intended to represent an offer or acceptance to enter into a 
contract and are not otherwise intended to bind the sender, Sanmina 
Corporation (or any of its subsidiaries), or any other person or entity.

[-- Attachment #1.2: Type: text/html, Size: 3330 bytes --]

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4252 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Issue in installing debian packages in SDK
  2021-03-02  2:44   ` Rajashree Sankar
@ 2021-03-02  6:39     ` Jan Kiszka
  0 siblings, 0 replies; 6+ messages in thread
From: Jan Kiszka @ 2021-03-02  6:39 UTC (permalink / raw)
  To: Rajashree Sankar; +Cc: isar-users, Lakshmi Natarajan

On 02.03.21 03:44, Rajashree Sankar wrote:
> Hello Jan,
> The SDKCHROOT_PREINSTALL worked well.I tried installing v4l utils
> package but one of its dependencies(specific version) is not in debian pool.
> Any help on how to solve the issue?
> 
> The error messages were
> * E: Failed to fetch
> http://deb.debian.org/debian/pool/main/s/systemd/udev_241-7~deb10u4_amd64.deb
> <http://deb.debian.org/debian/pool/main/s/systemd/udev_241-7~deb10u4_amd64.deb>
>  404  Not Found [IP: 151.101.10.132 80]*
> *E: Failed to fetch
> http://deb.debian.org/debian/pool/main/libj/libjpeg-turbo/libjpeg62-turbo_1.5.2-2+b1_amd64.deb
> <http://deb.debian.org/debian/pool/main/libj/libjpeg-turbo/libjpeg62-turbo_1.5.2-2+b1_amd64.deb>
>  404  Not Found [IP: 151.101.10.132 80]
> E: Some files failed to download
> *

You need to refresh your isar-bootstrap targets or use a local debian
snapshot. Those package versions have been superseded by newer ones. In
order to avoid inconsistent builds, the package list is only taken once
during bootstrap. If that was taken before an update and Debian dropped
the older packages from the archive, you see such errors.

Jan

> Thanks and Regards,
> Rajashree Sankar
> 
> 
> On Wed, Feb 17, 2021 at 3:57 PM Jan Kiszka <jan.kiszka@siemens.com
> <mailto:jan.kiszka@siemens.com>> wrote:
> 
>     On 17.02.21 08:11, Rajashree Sankar wrote:
>     > Hello,
>     > We tried installing  project needed debian packages in the isar
>     sdk with
>     > the command
>     >
>     > /dpkg -i <pkg-name>.deb/
>     >
>     > Below is a sample of errors we encountered related to permissions
>     >
>     > //usr/bin/mandb: fopen /var/cache/man/zh_CN/28107: Permission denied
>     > /usr/bin/mandb: fopen /var/cache/man/sv/28107: Permission denied/
>     > /
>     > /
>     > We tried with sudo to solve the permission error but it did not help.
>     > Can you guide us on how to install debian packages in SDK?
> 
>     Have a look at SDK_PREINSTALL / SDK_INSTALL.
> 
>     Jan
> 
>     -- 
>     Siemens AG, T RDA IOT
>     Corporate Competence Center Embedded Linux
> 
> 
> CONFIDENTIALITY
> This e-mail message and any attachments thereto, is intended only for
> use by the addressee(s) named herein and may contain legally privileged
> and/or confidential information. If you are not the intended recipient
> of this e-mail message, you are hereby notified that any dissemination,
> distribution or copying of this e-mail message, and any attachments
> thereto, is strictly prohibited. If you have received this e-mail
> message in error, please immediately notify the sender and permanently
> delete the original and any copies of this email and any prints thereof.
> ABSENT AN EXPRESS STATEMENT TO THE CONTRARY HEREINABOVE, THIS E-MAIL IS
> NOT INTENDED AS A SUBSTITUTE FOR A WRITING. Notwithstanding the Uniform
> Electronic Transactions Act or the applicability of any other law of
> similar substance and effect, absent an express statement to the
> contrary hereinabove, this e-mail message its contents, and any
> attachments hereto are not intended to represent an offer or acceptance
> to enter into a contract and are not otherwise intended to bind the
> sender, Sanmina Corporation (or any of its subsidiaries), or any other
> person or entity.


-- 
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-03-02  6:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-17  7:11 Issue in installing debian packages in SDK Rajashree Sankar
2021-02-17  9:01 ` Baurzhan Ismagulov
2021-02-17 10:27 ` Jan Kiszka
2021-02-20  8:49   ` Henning Schild
2021-03-02  2:44   ` Rajashree Sankar
2021-03-02  6:39     ` Jan Kiszka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox