LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-16-2016, 12:55 PM   #1
Amarildo
Member
 
Registered: Jun 2014
Posts: 176

Rep: Reputation: Disabled
Ubuntu - Custom FSTAB error while installing packages


This is how my fstab looks now:

Code:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
/dev/mapper/ubuntu-root /               ext4    errors=remount-ro 0       1
# /boot was on /dev/sda1 during installation
UUID=bf588ee2-9a67-4ac6-9ee0-14e6ea4ef1fc /boot           ext4    defaults        0       2
/dev/mapper/ubuntu-home /home           ext4    defaults        0       2
/dev/mapper/ubuntu-tmp /tmp            ext4    defaults        0       2
/dev/mapper/ubuntu-var /var            ext4    defaults        0       2
/dev/mapper/ubuntu-swap none            swap    sw              0       0
I want to make fstab behave like it did in Arch Linux, but I'm getting a ton of dpkg errors while installing packages. The errors are about half-installed packages and permission denied on /var, even though I was installing packages as root.

This is how my fstab has been for the past months without problems on Arch:
Code:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
/dev/mapper/ubuntu-root /               ext4    errors=remount-ro 0       1
# /boot was on /dev/sda1 during installation
UUID=bf588ee2-9a67-4ac6-9ee0-14e6ea4ef1fc /boot           ext4    defaults        0       2
/dev/mapper/ubuntu-home /home           ext4    defaults        0       2
/dev/mapper/ubuntu-tmp /tmp            ext4    defaults,nodev,nosuid,noexec,relatime,data=ordered        0       2
/dev/mapper/ubuntu-var /var            ext4    rw,defaults,nodev,nosuid,noexec,relatime,data=ordered        0       2
/dev/mapper/ubuntu-swap none            swap    sw              0       0

tmpfs   /tmp            tmpfs   defaults,nodev,nosuid,noexec,dize=16G   0 0
tmpfs   /dev/shm        tmpfs   defaults,nodev,nosuid,noexec            0 0
tmpfs   /var/tmp        tmpfs   rw,defaults,nodev,nosuid,noexec         0 0
What editing do I need to make to it in order for dpkg to successfully install packages?

I can use the fstab above and try to install a package if you guys want to see the exact errors I'm facing. Just let me know.

[relevant]Specs:

Ubuntu 16.04, freshly installed from the mini.iso.

Cheers.

Last edited by Amarildo; 04-16-2016 at 01:02 PM.
 
Old 04-16-2016, 06:51 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 22,252

Rep: Reputation: 4532Reputation: 4532Reputation: 4532Reputation: 4532Reputation: 4532Reputation: 4532Reputation: 4532Reputation: 4532Reputation: 4532Reputation: 4532Reputation: 4532
Posting error messages would help.

Are you saying it works without the tmpfs entries? Is dize a typo?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubiquity asking for cd with packages on custom ubuntu, preseed? brubizu Linux - Software 1 08-19-2010 12:45 PM
Error when installing packages hongnguyen70 Ubuntu 1 02-25-2008 08:21 AM
Installing Windows XP after Ubuntu and problems with fstab librano Ubuntu 2 06-19-2007 06:33 AM
Error installing packages Perdix Mandriva 3 03-26-2007 09:00 AM
Error Installing Packages Brad4321 Linux - Software 4 09-26-2003 01:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration